Class AnimatorController
Inheritance
AnimatorController
Assembly: UnityEditor.dll
Syntax
public sealed class AnimatorController : RuntimeAnimatorController
Constructors
|
Improve this Doc
View Source
AnimatorController()
Declaration
public AnimatorController()
Properties
layers
Declaration
public AnimatorControllerLayer[] layers { get; set; }
Property Value
parameters
Declaration
public AnimatorControllerParameter[] parameters { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddEffectiveStateMachineBehaviour(Type, AnimatorState, Int32)
Declaration
[TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)]
public StateMachineBehaviour AddEffectiveStateMachineBehaviour(Type stateMachineBehaviourType, AnimatorState state, int layerIndex)
Parameters
Returns
|
Improve this Doc
View Source
AddEffectiveStateMachineBehaviour<T>(AnimatorState, Int32)
Declaration
public T AddEffectiveStateMachineBehaviour<T>(AnimatorState state, int layerIndex)
where T : StateMachineBehaviour
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
AddLayer(String)
Declaration
public void AddLayer(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
|
Improve this Doc
View Source
AddLayer(AnimatorControllerLayer)
Declaration
public void AddLayer(AnimatorControllerLayer layer)
Parameters
|
Improve this Doc
View Source
AddMotion(Motion)
Declaration
public AnimatorState AddMotion(Motion motion)
Parameters
Type |
Name |
Description |
Motion |
motion |
|
Returns
|
Improve this Doc
View Source
AddMotion(Motion, Int32)
Declaration
public AnimatorState AddMotion(Motion motion, int layerIndex)
Parameters
Returns
|
Improve this Doc
View Source
AddParameter(String, AnimatorControllerParameterType)
Declaration
public void AddParameter(string name, AnimatorControllerParameterType type)
Parameters
|
Improve this Doc
View Source
AddParameter(AnimatorControllerParameter)
Declaration
public void AddParameter(AnimatorControllerParameter paramater)
Parameters
|
Improve this Doc
View Source
AllocateAnimatorClip(String)
Declaration
public static AnimationClip AllocateAnimatorClip(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
CreateAnimatorControllerAtPath(String)
Declaration
public static AnimatorController CreateAnimatorControllerAtPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
|
Improve this Doc
View Source
CreateAnimatorControllerAtPathWithClip(String, AnimationClip)
Declaration
public static AnimatorController CreateAnimatorControllerAtPathWithClip(string path, AnimationClip clip)
Parameters
Returns
|
Improve this Doc
View Source
CreateBlendTreeInController(String, out BlendTree)
Declaration
public AnimatorState CreateBlendTreeInController(string name, out BlendTree tree)
Parameters
Returns
|
Improve this Doc
View Source
CreateBlendTreeInController(String, out BlendTree, Int32)
Declaration
public AnimatorState CreateBlendTreeInController(string name, out BlendTree tree, int layerIndex)
Parameters
Returns
CreateStateMachineBehaviour(MonoScript)
Declaration
public static int CreateStateMachineBehaviour(MonoScript script)
Parameters
Returns
|
Improve this Doc
View Source
FindStateMachineBehaviourContext(StateMachineBehaviour)
Declaration
public static StateMachineBehaviourContext[] FindStateMachineBehaviourContext(StateMachineBehaviour behaviour)
Parameters
Returns
|
Improve this Doc
View Source
GetBehaviours<T>()
Declaration
public T[] GetBehaviours<T>()
where T : StateMachineBehaviour
Returns
Type Parameters
|
Improve this Doc
View Source
GetStateEffectiveBehaviours(AnimatorState, Int32)
Declaration
public StateMachineBehaviour[] GetStateEffectiveBehaviours(AnimatorState state, int layerIndex)
Parameters
Returns
|
Improve this Doc
View Source
GetStateEffectiveMotion(AnimatorState)
Declaration
public Motion GetStateEffectiveMotion(AnimatorState state)
Parameters
Returns
|
Improve this Doc
View Source
GetStateEffectiveMotion(AnimatorState, Int32)
Declaration
public Motion GetStateEffectiveMotion(AnimatorState state, int layerIndex)
Parameters
Returns
MakeUniqueLayerName(String)
Declaration
public string MakeUniqueLayerName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
MakeUniqueParameterName(String)
Declaration
public string MakeUniqueParameterName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
RemoveLayer(Int32)
Declaration
public void RemoveLayer(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
|
Improve this Doc
View Source
RemoveParameter(Int32)
Declaration
public void RemoveParameter(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
|
Improve this Doc
View Source
RemoveParameter(AnimatorControllerParameter)
Declaration
public void RemoveParameter(AnimatorControllerParameter parameter)
Parameters
|
Improve this Doc
View Source
SetAnimatorController(Animator, AnimatorController)
Declaration
public static void SetAnimatorController(Animator animator, AnimatorController controller)
Parameters
|
Improve this Doc
View Source
SetStateEffectiveBehaviours(AnimatorState, Int32, StateMachineBehaviour[])
Declaration
public void SetStateEffectiveBehaviours(AnimatorState state, int layerIndex, StateMachineBehaviour[] behaviours)
Parameters
|
Improve this Doc
View Source
SetStateEffectiveMotion(AnimatorState, Motion)
Declaration
public void SetStateEffectiveMotion(AnimatorState state, Motion motion)
Parameters
|
Improve this Doc
View Source
SetStateEffectiveMotion(AnimatorState, Motion, Int32)
Declaration
public void SetStateEffectiveMotion(AnimatorState state, Motion motion, int layerIndex)
Parameters
Extension Methods