Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Starts one clip with an explicit clock, looping, speed, layer, and blend policy.

API: engine
Project: Inno.Animation.Runtime

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

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.

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.ArgumentException: Thrown when options contains a non-finite or unsupported value.

Exception T:System.InvalidOperationException: Thrown when the clip is structurally invalid.