ZActionPlayer
14 items
- All (14)
- Constructors (1)
- Functions (13)
All
14constructorZActionPlayer
constructor()
fun getCurrentKeyFrame(): ZKeyFrame?
Gets the current keyframe based on playback time
fun getCurrentTime(): Float
fungetDuration
fun getDuration(): Float
fungetProgress
fun getProgress(): Float
funisPlaying
fun isPlaying(): Boolean
funresetTimer
fun resetTimer()
Resets the internal time counter. Useful when a lot of time has passed since the last update and we don't want a large jump in the animation.
funupdate
fun update()
Updates the playback state by automatically calculating the time elapsed since the last call.
Constructors
1constructorZActionPlayer
constructor()
Functions
13fun getCurrentKeyFrame(): ZKeyFrame?
Gets the current keyframe based on playback time
fun getCurrentTime(): Float
fungetDuration
fun getDuration(): Float
fungetProgress
fun getProgress(): Float
funisPlaying
fun isPlaying(): Boolean
funresetTimer
fun resetTimer()
Resets the internal time counter. Useful when a lot of time has passed since the last update and we don't want a large jump in the animation.
funupdate
fun update()
Updates the playback state by automatically calculating the time elapsed since the last call.