* Reset this skeleton to the setup pose.
()
| 733 | * Reset this skeleton to the setup pose. |
| 734 | */ |
| 735 | setToSetupPose() { |
| 736 | this.skeleton.setupPose(); |
| 737 | this.skeleton.updateWorldTransform(Physics.reset); |
| 738 | // reset flip flags |
| 739 | this.isSpineFlipped.y = false; |
| 740 | this.isSpineFlipped.x = false; |
| 741 | // reset reference to current track entry |
| 742 | this.currentTrack = undefined; |
| 743 | // mark the object as dirty |
| 744 | this.isDirty = true; |
| 745 | } |
| 746 | } |