Synced
IAnimationService.TryGetState
Section titled “IAnimationService.TryGetState”
- Tries to read one live playback’s state and position.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Animation
Declaration
Section titled “Declaration”bool Inno.Animation.IAnimationService.TryGetState(Inno.Animation.AnimationPlaybackHandle handle, out Inno.Animation.AnimationPlaybackState state, out float time)Parameters
Section titled “Parameters”Parameter handle: Playback handle from this runtime generation.
Parameter state: Receives the current playback state when successful.
Parameter time: Receives the current clip-local time in seconds when successful.
Returns
Section titled “Returns”true when the handle still identifies a live playback.