AnimancerLayer.

CreateState(AnimationClip) Method

Summary

Creates and returns a new Animancer.ClipState to play the `clip`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerLayer

Syntax

public ClipState CreateState(AnimationClip clip)

Remarks

Animancer.AnimancerPlayable.GetKey(UnityEngine.AnimationClip) is used to determine the Animancer.AnimancerState.Key.

Parameters

Name Type Description
clip AnimationClip

Return Value

Type Description
ClipState