* Stop and reset the current animation to its first frame (see Sprite#stop). * @returns {Sprite3d} Reference to this object for method chaining
()
| 463 | * @returns {Sprite3d} Reference to this object for method chaining |
| 464 | */ |
| 465 | stop() { |
| 466 | this.animationpause = true; |
| 467 | this._frameAnim.rewind(); |
| 468 | return this; |
| 469 | } |
| 470 | |
| 471 | /** |
| 472 | * Force the current animation frame index (see {@link Sprite#setAnimationFrame}). |