Synced
AnimationRuntime.Play
Section titled “AnimationRuntime.Play”
- Starts one clip with an explicit clock, looping, speed, layer, and blend policy.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Animation.Runtime
Declaration
Section titled “Declaration”public Inno.Animation.AnimationPlaybackHandle Inno.Animation.Runtime.AnimationRuntime.Play(Inno.Animation.AnimationClipAsset clip, Inno.Animation.AnimationTarget target, Inno.Animation.AnimationPlayOptions options)Parameters
Section titled “Parameters”Parameter clip: Valid clip to sample until completion or explicit stop.
Parameter options: Playback options validated before a runtime slot is allocated.
Parameter target: The weak destination or explicit sampling-only policy.
Returns
Section titled “Returns”A generation-checked handle owned by this runtime.
Exceptions
Section titled “Exceptions”Exception T:System.ObjectDisposedException: Thrown when this runtime has been disposed.
Exception T:System.ArgumentNullException: Thrown when clip is null.
Exception T:System.ArgumentException: Thrown when options contains a non-finite or unsupported value.
Exception T:System.InvalidOperationException: Thrown when the clip is structurally invalid.