Synced
AnimationRuntime.Play
Section titled “AnimationRuntime.Play”
- Starts one clip with the runtime’s default playback 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)Parameters
Section titled “Parameters”Parameter clip: Valid clip to sample until completion or explicit stop.
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.InvalidOperationException: Thrown when the clip is structurally invalid.