* Apply a texture region directly (see Sprite#setRegion). * @param {object} region - typically from `texture.getRegion(name)` * @returns {Sprite3d} Reference to this object for method chaining
(region)
| 484 | * @returns {Sprite3d} Reference to this object for method chaining |
| 485 | */ |
| 486 | setRegion(region) { |
| 487 | this._frameAnim.setRegion(region); |
| 488 | return this; |
| 489 | } |
| 490 | |
| 491 | /** |
| 492 | * @param {string} name - animation id |