Version: 2020.1
언어: 한국어

AnimatorControllerPlayable

struct in UnityEngine.Animations


인터페이스 구현:IPlayable

매뉴얼로 전환

설명

An implementation of IPlayable that controls an animation RuntimeAnimatorController.

NOTE: You can use PlayableExtensions methods with AnimatorControllerPlayable objects.

정적 변수

NullReturns an invalid AnimatorControllerPlayable.

Public 함수

CrossFadeCreates a crossfade from the current state to any other state using normalized times.
CrossFadeInFixedTimeCreates a crossfade from the current state to any other state using times in seconds.
GetAnimatorTransitionInfoReturns an AnimatorTransitionInfo with the informations on the current transition.
GetBoolReturns the value of the given boolean parameter.
GetCurrentAnimatorClipInfoReturns an array of all the AnimatorClipInfo in the current state of the given layer.
GetCurrentAnimatorClipInfoCountReturns the number of AnimatorClipInfo in the current state.
GetCurrentAnimatorStateInfoReturns an AnimatorStateInfo with the information on the current state.
GetFloatReturns the value of the given float parameter.
GetIntegerReturns the value of the given integer parameter.
GetLayerIndexReturns the index of the layer with the given name.
GetLayerNameReturns the layer name.
GetLayerWeightReturns the weight of the layer at the specified index.
GetNextAnimatorClipInfoReturns an array of all the AnimatorClipInfo in the next state of the given layer.
GetNextAnimatorClipInfoCountReturns the number of AnimatorClipInfo in the next state.
GetNextAnimatorStateInfoReturns an AnimatorStateInfo with the information on the next state.
GetParameterSee AnimatorController.parameters.
HasStateReturns true if the state exists in this layer, false otherwise.
IsInTransitionReturns true if there is a transition on the given layer, false otherwise.
IsParameterControlledByCurveReturns true if the parameter is controlled by a curve, false otherwise.
PlayPlays a state.
PlayInFixedTimePlays a state.
ResetTriggerResets the value of the given trigger parameter.
SetBoolSets the value of the given boolean parameter.
SetFloatSend float values to the AnimatorController to affect transitions.
SetIntegerSets the value of the given integer parameter.
SetLayerWeightSets the weight of the layer at the given index.
SetTriggerSets the value of the given trigger parameter.

정적 함수

CreateCreates an AnimatorControllerPlayable in the PlayableGraph.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961