Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Tries to read the state and clip-local time of one live playback.

API: engine
Project: Inno.Animation.Runtime

public bool Inno.Animation.Runtime.AnimationRuntime.TryGetState(Inno.Animation.AnimationPlaybackHandle handle, out Inno.Animation.AnimationPlaybackState state, out float time)

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.

true when the handle identifies a live playback; otherwise, false.