Synced
AnimationRuntime.TryGetState
Section titled “AnimationRuntime.TryGetState”
- Tries to read the state and clip-local time of one live playback.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Animation.Runtime
Declaration
Section titled “Declaration”public bool Inno.Animation.Runtime.AnimationRuntime.TryGetState(Inno.Animation.AnimationPlaybackHandle handle, out Inno.Animation.AnimationPlaybackState state, out float time)Parameters
Section titled “Parameters”Parameter handle: Playback handle produced by this runtime generation.
Parameter state: Receives the live playback state, or the default value when the handle is stale.
Parameter time: Receives clip-local time in seconds, or zero when the handle is stale.
Returns
Section titled “Returns”true when the handle identifies a live playback; otherwise, false.