Control animated texture playback and its relevant properties. The animated texture frame index starts from zero. When From is equal to To, only one frame will be played. When the first frame index is greater than the last frame index, the animated texture is played backward.
Name | Data type | Description |
---|
Play From To | Exec | Play the animated texture from the index set in From |
Pause | Exec | Pause the current animated texture |
Resume | Exec | Resume the current animated texture |
Animated Texture | Texture 2D | The animated texture asset to play |
From | Number | The frame index of the animated texture that will be played first |
To | Number | The frame index of the animated texture that will be played at last; The maximum available index is the total frame count minus 1 |
Output
Name | Data type | Description |
---|
On Begin | Exec | Execute the next node when plays the first frame for the first time |
On Pause | Exec | Execute the next node when pauses the animated texture |
On Resume | Exec | Execute the next node when resumes the animated texture |
On Play End | Exec | Execute the next node when the animation sequence finishes playing |