Struct AnimatorControllerPlayable
Assembly: UnityEngine.dll
Syntax
public struct AnimatorControllerPlayable : IPlayable, IEquatable<AnimatorControllerPlayable>
Properties
|
Improve this Doc
View Source
Null
Declaration
public static AnimatorControllerPlayable Null { get; }
Property Value
Methods
|
Improve this Doc
View Source
Create(PlayableGraph, RuntimeAnimatorController)
Declaration
public static AnimatorControllerPlayable Create(PlayableGraph graph, RuntimeAnimatorController controller)
Parameters
Returns
|
Improve this Doc
View Source
CrossFade(Int32, Single)
Declaration
public void CrossFade(int stateNameHash, float transitionDuration)
Parameters
Type |
Name |
Description |
Int32 |
stateNameHash |
|
Single |
transitionDuration |
|
|
Improve this Doc
View Source
CrossFade(Int32, Single, Int32)
Declaration
public void CrossFade(int stateNameHash, float transitionDuration, int layer)
Parameters
|
Improve this Doc
View Source
CrossFade(Int32, Single, Int32, Single)
Declaration
public void CrossFade(int stateNameHash, float transitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
Parameters
|
Improve this Doc
View Source
CrossFade(String, Single)
Declaration
public void CrossFade(string stateName, float transitionDuration)
Parameters
Type |
Name |
Description |
String |
stateName |
|
Single |
transitionDuration |
|
|
Improve this Doc
View Source
CrossFade(String, Single, Int32)
Declaration
public void CrossFade(string stateName, float transitionDuration, int layer)
Parameters
|
Improve this Doc
View Source
CrossFade(String, Single, Int32, Single)
Declaration
public void CrossFade(string stateName, float transitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(Int32, Single)
Declaration
public void CrossFadeInFixedTime(int stateNameHash, float transitionDuration)
Parameters
Type |
Name |
Description |
Int32 |
stateNameHash |
|
Single |
transitionDuration |
|
|
Improve this Doc
View Source
CrossFadeInFixedTime(Int32, Single, Int32)
Declaration
public void CrossFadeInFixedTime(int stateNameHash, float transitionDuration, int layer)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(Int32, Single, Int32, Single)
Declaration
public void CrossFadeInFixedTime(int stateNameHash, float transitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("0.0f")] float fixedTime)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single)
Declaration
public void CrossFadeInFixedTime(string stateName, float transitionDuration)
Parameters
Type |
Name |
Description |
String |
stateName |
|
Single |
transitionDuration |
|
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single, Int32)
Declaration
public void CrossFadeInFixedTime(string stateName, float transitionDuration, int layer)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single, Int32, Single)
Declaration
public void CrossFadeInFixedTime(string stateName, float transitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("0.0f")] float fixedTime)
Parameters
|
Improve this Doc
View Source
Equals(AnimatorControllerPlayable)
Declaration
public bool Equals(AnimatorControllerPlayable other)
Parameters
Returns
|
Improve this Doc
View Source
GetAnimatorTransitionInfo(Int32)
Declaration
public AnimatorTransitionInfo GetAnimatorTransitionInfo(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetBool(Int32)
Declaration
public bool GetBool(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
|
Improve this Doc
View Source
GetBool(String)
Declaration
public bool GetBool(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
GetCurrentAnimatorClipInfo(Int32)
Declaration
public AnimatorClipInfo[] GetCurrentAnimatorClipInfo(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetCurrentAnimatorClipInfo(Int32, List<AnimatorClipInfo>)
Declaration
public void GetCurrentAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)
Parameters
|
Improve this Doc
View Source
GetCurrentAnimatorClipInfoCount(Int32)
Declaration
public int GetCurrentAnimatorClipInfoCount(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetCurrentAnimatorStateInfo(Int32)
Declaration
public AnimatorStateInfo GetCurrentAnimatorStateInfo(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetFloat(Int32)
Declaration
public float GetFloat(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
|
Improve this Doc
View Source
GetFloat(String)
Declaration
public float GetFloat(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
GetHandle()
Declaration
public PlayableHandle GetHandle()
Returns
|
Improve this Doc
View Source
GetInteger(Int32)
Declaration
public int GetInteger(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
|
Improve this Doc
View Source
GetInteger(String)
Declaration
public int GetInteger(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
GetLayerCount()
Declaration
public int GetLayerCount()
Returns
|
Improve this Doc
View Source
GetLayerIndex(String)
Declaration
public int GetLayerIndex(string layerName)
Parameters
Type |
Name |
Description |
String |
layerName |
|
Returns
|
Improve this Doc
View Source
GetLayerName(Int32)
Declaration
public string GetLayerName(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetLayerWeight(Int32)
Declaration
public float GetLayerWeight(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetNextAnimatorClipInfo(Int32)
Declaration
public AnimatorClipInfo[] GetNextAnimatorClipInfo(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetNextAnimatorClipInfo(Int32, List<AnimatorClipInfo>)
Declaration
public void GetNextAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)
Parameters
|
Improve this Doc
View Source
GetNextAnimatorClipInfoCount(Int32)
Declaration
public int GetNextAnimatorClipInfoCount(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetNextAnimatorStateInfo(Int32)
Declaration
public AnimatorStateInfo GetNextAnimatorStateInfo(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetParameter(Int32)
Declaration
public AnimatorControllerParameter GetParameter(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetParameterCount()
Declaration
public int GetParameterCount()
Returns
|
Improve this Doc
View Source
HasState(Int32, Int32)
Declaration
public bool HasState(int layerIndex, int stateID)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Int32 |
stateID |
|
Returns
|
Improve this Doc
View Source
IsInTransition(Int32)
Declaration
public bool IsInTransition(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
IsParameterControlledByCurve(Int32)
Declaration
public bool IsParameterControlledByCurve(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
|
Improve this Doc
View Source
IsParameterControlledByCurve(String)
Declaration
public bool IsParameterControlledByCurve(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
Play(Int32)
Declaration
public void Play(int stateNameHash)
Parameters
Type |
Name |
Description |
Int32 |
stateNameHash |
|
|
Improve this Doc
View Source
Play(Int32, Int32)
Declaration
public void Play(int stateNameHash, int layer)
Parameters
Type |
Name |
Description |
Int32 |
stateNameHash |
|
Int32 |
layer |
|
|
Improve this Doc
View Source
Play(Int32, Int32, Single)
Declaration
public void Play(int stateNameHash, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
Parameters
|
Improve this Doc
View Source
Play(String)
Declaration
public void Play(string stateName)
Parameters
Type |
Name |
Description |
String |
stateName |
|
|
Improve this Doc
View Source
Play(String, Int32)
Declaration
public void Play(string stateName, int layer)
Parameters
|
Improve this Doc
View Source
Play(String, Int32, Single)
Declaration
public void Play(string stateName, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTime)
Parameters
|
Improve this Doc
View Source
PlayInFixedTime(Int32)
Declaration
public void PlayInFixedTime(int stateNameHash)
Parameters
Type |
Name |
Description |
Int32 |
stateNameHash |
|
|
Improve this Doc
View Source
PlayInFixedTime(Int32, Int32)
Declaration
public void PlayInFixedTime(int stateNameHash, int layer)
Parameters
Type |
Name |
Description |
Int32 |
stateNameHash |
|
Int32 |
layer |
|
|
Improve this Doc
View Source
PlayInFixedTime(Int32, Int32, Single)
Declaration
public void PlayInFixedTime(int stateNameHash, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float fixedTime)
Parameters
|
Improve this Doc
View Source
PlayInFixedTime(String)
Declaration
public void PlayInFixedTime(string stateName)
Parameters
Type |
Name |
Description |
String |
stateName |
|
|
Improve this Doc
View Source
PlayInFixedTime(String, Int32)
Declaration
public void PlayInFixedTime(string stateName, int layer)
Parameters
|
Improve this Doc
View Source
PlayInFixedTime(String, Int32, Single)
Declaration
public void PlayInFixedTime(string stateName, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float fixedTime)
Parameters
|
Improve this Doc
View Source
ResetTrigger(Int32)
Declaration
public void ResetTrigger(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
|
Improve this Doc
View Source
ResetTrigger(String)
Declaration
public void ResetTrigger(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
|
Improve this Doc
View Source
SetBool(Int32, Boolean)
Declaration
public void SetBool(int id, bool value)
Parameters
|
Improve this Doc
View Source
SetBool(String, Boolean)
Declaration
public void SetBool(string name, bool value)
Parameters
|
Improve this Doc
View Source
SetFloat(Int32, Single)
Declaration
public void SetFloat(int id, float value)
Parameters
|
Improve this Doc
View Source
SetFloat(String, Single)
Declaration
public void SetFloat(string name, float value)
Parameters
|
Improve this Doc
View Source
SetHandle(PlayableHandle)
Declaration
public void SetHandle(PlayableHandle handle)
Parameters
|
Improve this Doc
View Source
SetInteger(Int32, Int32)
Declaration
public void SetInteger(int id, int value)
Parameters
|
Improve this Doc
View Source
SetInteger(String, Int32)
Declaration
public void SetInteger(string name, int value)
Parameters
|
Improve this Doc
View Source
SetLayerWeight(Int32, Single)
Declaration
public void SetLayerWeight(int layerIndex, float weight)
Parameters
|
Improve this Doc
View Source
SetTrigger(Int32)
Declaration
public void SetTrigger(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
|
Improve this Doc
View Source
SetTrigger(String)
Declaration
public void SetTrigger(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Operators
|
Improve this Doc
View Source
Explicit(Playable to AnimatorControllerPlayable)
Declaration
public static explicit operator AnimatorControllerPlayable(Playable playable)
Parameters
Returns
|
Improve this Doc
View Source
Implicit(AnimatorControllerPlayable to Playable)
Declaration
public static implicit operator Playable(AnimatorControllerPlayable playable)
Parameters
Returns
Implements
Extension Methods