Version: 5.3
Experimental: this API is experimental and might be changed or removed in the future.

IAnimatorControllerPlayable

interface in UnityEngine.Experimental.Director

매뉴얼로 전환

설명

Interface for objects that can control an AnimatorController.

변수

layerCountThe AnimatorController layer count.
parameterCountThe number of AnimatorControllerParameters used by the AnimatorController.

Public 함수

CrossFadeCreates a dynamic transition between the current state and the destination state.
CrossFadeInFixedTimeSame as IAnimatorControllerPlayable.CrossFade, but the duration and offset in the target state are in fixed time.
GetAnimatorTransitionInfoGets the Transition information on a specified AnimatorController layer.
GetBoolSee IAnimatorControllerPlayable.GetBool.
GetCurrentAnimatorClipInfoGets the list of AnimatorClipInfo currently played by the current state.
GetCurrentAnimatorStateInfoGets the current State information on a specified AnimatorController layer.
GetFloatGets the value of a float parameter.
GetIntegerGets the value of an integer parameter.
GetLayerIndexGets the index of the layer with specified name.
GetLayerNameGets name of the layer.
GetLayerWeightGets the layer's current weight.
GetNextAnimatorClipInfoGets the list of AnimatorClipInfo currently played by the next state.
GetNextAnimatorStateInfoGets the next State information on a specified AnimatorController layer.
GetParameterRead only access to the AnimatorControllerParameters used by the animator.
HasStateReturns true if the AnimatorState is present in the Animator's controller.
IsInTransitionIs the specified AnimatorController layer in a transition.
IsParameterControlledByCurveReturns true if a parameter is controlled by an additional curve on an animation.
PlayPlays a state.
PlayInFixedTimeSame as IAnimatorControllerPlayable.Play, but the offset in the target state is in fixed time.
ResetTriggerResets the trigger parameter to false.
SetBoolSee IAnimatorControllerPlayable.SetBool.
SetFloatSets the value of a float parameter.
SetIntegerSets the value of an integer parameter.
SetLayerWeightSets the layer's current weight.
SetTriggerSets a trigger parameter to active. A trigger parameter is a bool parameter that gets reset to false when it has been used in a transition. For state machines with multiple layers, the trigger will only get reset once all layers have been evaluated, so that the layers can synchronize their transitions on the same parameter.