Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Starts one clip with the runtime’s default playback policy.

API: engine
Project: Inno.Animation.Runtime

public Inno.Animation.AnimationPlaybackHandle Inno.Animation.Runtime.AnimationRuntime.Play(Inno.Animation.AnimationClipAsset clip, Inno.Animation.AnimationTarget target)

Parameter clip: Valid clip to sample until completion or explicit stop.

Parameter target: The weak destination or explicit sampling-only policy.

A generation-checked handle owned by this runtime.

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.