Synced
Animation.TryGetState
Section titled “Animation.TryGetState”
- Tries to read one live playback’s state and position.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Animation
Scope: Runtime
Declaration
Section titled “Declaration”public static bool InnoEngine.Animation.Animation.TryGetState(InnoEngine.Animation.AnimationPlaybackHandle handle, out InnoEngine.Animation.AnimationPlaybackState state, out float time)Parameters
Section titled “Parameters”Parameter handle: Playback handle to query.
Parameter state: Receives current playback state.
Parameter time: Receives clip-local time in seconds.
Returns
Section titled “Returns”true when the handle was live.