Show / Hide Table of Contents

Struct AnimatorControllerPlayable

Implements
IPlayable
IEquatable<AnimatorControllerPlayable>
Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine.Animations
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
Type Description
AnimatorControllerPlayable

Methods

| Improve this Doc View Source

Create(PlayableGraph, RuntimeAnimatorController)

Declaration
public static AnimatorControllerPlayable Create(PlayableGraph graph, RuntimeAnimatorController controller)
Parameters
Type Name Description
PlayableGraph graph
RuntimeAnimatorController controller
Returns
Type Description
AnimatorControllerPlayable
| 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
Type Name Description
Int32 stateNameHash
Single transitionDuration
Int32 layer
| 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
Type Name Description
Int32 stateNameHash
Single transitionDuration
Int32 layer
Single normalizedTime
| 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
Type Name Description
String stateName
Single transitionDuration
Int32 layer
| 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
Type Name Description
String stateName
Single transitionDuration
Int32 layer
Single normalizedTime
| 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
Type Name Description
Int32 stateNameHash
Single transitionDuration
Int32 layer
| 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
Type Name Description
Int32 stateNameHash
Single transitionDuration
Int32 layer
Single fixedTime
| 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
Type Name Description
String stateName
Single transitionDuration
Int32 layer
| 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
Type Name Description
String stateName
Single transitionDuration
Int32 layer
Single fixedTime
| Improve this Doc View Source

Equals(AnimatorControllerPlayable)

Declaration
public bool Equals(AnimatorControllerPlayable other)
Parameters
Type Name Description
AnimatorControllerPlayable other
Returns
Type Description
Boolean
| Improve this Doc View Source

GetAnimatorTransitionInfo(Int32)

Declaration
public AnimatorTransitionInfo GetAnimatorTransitionInfo(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
AnimatorTransitionInfo
| Improve this Doc View Source

GetBool(Int32)

Declaration
public bool GetBool(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
Boolean
| Improve this Doc View Source

GetBool(String)

Declaration
public bool GetBool(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Boolean
| Improve this Doc View Source

GetCurrentAnimatorClipInfo(Int32)

Declaration
public AnimatorClipInfo[] GetCurrentAnimatorClipInfo(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
AnimatorClipInfo[]
| Improve this Doc View Source

GetCurrentAnimatorClipInfo(Int32, List<AnimatorClipInfo>)

Declaration
public void GetCurrentAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)
Parameters
Type Name Description
Int32 layerIndex
List<AnimatorClipInfo> clips
| Improve this Doc View Source

GetCurrentAnimatorClipInfoCount(Int32)

Declaration
public int GetCurrentAnimatorClipInfoCount(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
Int32
| Improve this Doc View Source

GetCurrentAnimatorStateInfo(Int32)

Declaration
public AnimatorStateInfo GetCurrentAnimatorStateInfo(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
AnimatorStateInfo
| Improve this Doc View Source

GetFloat(Int32)

Declaration
public float GetFloat(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
Single
| Improve this Doc View Source

GetFloat(String)

Declaration
public float GetFloat(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Single
| Improve this Doc View Source

GetHandle()

Declaration
public PlayableHandle GetHandle()
Returns
Type Description
PlayableHandle
| Improve this Doc View Source

GetInteger(Int32)

Declaration
public int GetInteger(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
Int32
| Improve this Doc View Source

GetInteger(String)

Declaration
public int GetInteger(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Int32
| Improve this Doc View Source

GetLayerCount()

Declaration
public int GetLayerCount()
Returns
Type Description
Int32
| Improve this Doc View Source

GetLayerIndex(String)

Declaration
public int GetLayerIndex(string layerName)
Parameters
Type Name Description
String layerName
Returns
Type Description
Int32
| Improve this Doc View Source

GetLayerName(Int32)

Declaration
public string GetLayerName(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
String
| Improve this Doc View Source

GetLayerWeight(Int32)

Declaration
public float GetLayerWeight(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
Single
| Improve this Doc View Source

GetNextAnimatorClipInfo(Int32)

Declaration
public AnimatorClipInfo[] GetNextAnimatorClipInfo(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
AnimatorClipInfo[]
| Improve this Doc View Source

GetNextAnimatorClipInfo(Int32, List<AnimatorClipInfo>)

Declaration
public void GetNextAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)
Parameters
Type Name Description
Int32 layerIndex
List<AnimatorClipInfo> clips
| Improve this Doc View Source

GetNextAnimatorClipInfoCount(Int32)

Declaration
public int GetNextAnimatorClipInfoCount(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
Int32
| Improve this Doc View Source

GetNextAnimatorStateInfo(Int32)

Declaration
public AnimatorStateInfo GetNextAnimatorStateInfo(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
AnimatorStateInfo
| Improve this Doc View Source

GetParameter(Int32)

Declaration
public AnimatorControllerParameter GetParameter(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
AnimatorControllerParameter
| Improve this Doc View Source

GetParameterCount()

Declaration
public int GetParameterCount()
Returns
Type Description
Int32
| 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
Type Description
Boolean
| Improve this Doc View Source

IsInTransition(Int32)

Declaration
public bool IsInTransition(int layerIndex)
Parameters
Type Name Description
Int32 layerIndex
Returns
Type Description
Boolean
| Improve this Doc View Source

IsParameterControlledByCurve(Int32)

Declaration
public bool IsParameterControlledByCurve(int id)
Parameters
Type Name Description
Int32 id
Returns
Type Description
Boolean
| Improve this Doc View Source

IsParameterControlledByCurve(String)

Declaration
public bool IsParameterControlledByCurve(string name)
Parameters
Type Name Description
String name
Returns
Type Description
Boolean
| 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
Type Name Description
Int32 stateNameHash
Int32 layer
Single normalizedTime
| 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
Type Name Description
String stateName
Int32 layer
| 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
Type Name Description
String stateName
Int32 layer
Single normalizedTime
| 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
Type Name Description
Int32 stateNameHash
Int32 layer
Single fixedTime
| 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
Type Name Description
String stateName
Int32 layer
| 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
Type Name Description
String stateName
Int32 layer
Single fixedTime
| 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
Type Name Description
Int32 id
Boolean value
| Improve this Doc View Source

SetBool(String, Boolean)

Declaration
public void SetBool(string name, bool value)
Parameters
Type Name Description
String name
Boolean value
| Improve this Doc View Source

SetFloat(Int32, Single)

Declaration
public void SetFloat(int id, float value)
Parameters
Type Name Description
Int32 id
Single value
| Improve this Doc View Source

SetFloat(String, Single)

Declaration
public void SetFloat(string name, float value)
Parameters
Type Name Description
String name
Single value
| Improve this Doc View Source

SetHandle(PlayableHandle)

Declaration
public void SetHandle(PlayableHandle handle)
Parameters
Type Name Description
PlayableHandle handle
| Improve this Doc View Source

SetInteger(Int32, Int32)

Declaration
public void SetInteger(int id, int value)
Parameters
Type Name Description
Int32 id
Int32 value
| Improve this Doc View Source

SetInteger(String, Int32)

Declaration
public void SetInteger(string name, int value)
Parameters
Type Name Description
String name
Int32 value
| Improve this Doc View Source

SetLayerWeight(Int32, Single)

Declaration
public void SetLayerWeight(int layerIndex, float weight)
Parameters
Type Name Description
Int32 layerIndex
Single weight
| 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
Type Name Description
Playable playable
Returns
Type Description
AnimatorControllerPlayable
| Improve this Doc View Source

Implicit(AnimatorControllerPlayable to Playable)

Declaration
public static implicit operator Playable(AnimatorControllerPlayable playable)
Parameters
Type Name Description
AnimatorControllerPlayable playable
Returns
Type Description
Playable

Implements

IPlayable
System.IEquatable<T>

Extension Methods

PlayableExtensions.IsNull<U>(U)
PlayableExtensions.IsValid<U>(U)
PlayableExtensions.Destroy<U>(U)
PlayableExtensions.GetGraph<U>(U)
PlayableExtensions.SetPlayState<U>(U, PlayState)
PlayableExtensions.GetPlayState<U>(U)
PlayableExtensions.Play<U>(U)
PlayableExtensions.Pause<U>(U)
PlayableExtensions.SetSpeed<U>(U, Double)
PlayableExtensions.GetSpeed<U>(U)
PlayableExtensions.SetDuration<U>(U, Double)
PlayableExtensions.GetDuration<U>(U)
PlayableExtensions.SetTime<U>(U, Double)
PlayableExtensions.GetTime<U>(U)
PlayableExtensions.GetPreviousTime<U>(U)
PlayableExtensions.SetDone<U>(U, Boolean)
PlayableExtensions.IsDone<U>(U)
PlayableExtensions.SetPropagateSetTime<U>(U, Boolean)
PlayableExtensions.GetPropagateSetTime<U>(U)
PlayableExtensions.CanChangeInputs<U>(U)
PlayableExtensions.CanSetWeights<U>(U)
PlayableExtensions.CanDestroy<U>(U)
PlayableExtensions.SetInputCount<U>(U, Int32)
PlayableExtensions.GetInputCount<U>(U)
PlayableExtensions.SetOutputCount<U>(U, Int32)
PlayableExtensions.GetOutputCount<U>(U)
PlayableExtensions.GetInput<U>(U, Int32)
PlayableExtensions.GetOutput<U>(U, Int32)
PlayableExtensions.SetInputWeight<U>(U, Int32, Single)
PlayableExtensions.SetInputWeight<U, V>(U, V, Single)
PlayableExtensions.GetInputWeight<U>(U, Int32)
PlayableExtensions.ConnectInput<U, V>(U, Int32, V, Int32)
PlayableExtensions.ConnectInput<U, V>(U, Int32, V, Int32, Single)
PlayableExtensions.DisconnectInput<U>(U, Int32)
PlayableExtensions.AddInput<U, V>(U, V, Int32, Single)
PlayableExtensions.SetDelay<U>(U, Double)
PlayableExtensions.GetDelay<U>(U)
PlayableExtensions.IsDelayed<U>(U)
PlayableExtensions.SetLeadTime<U>(U, Single)
PlayableExtensions.GetLeadTime<U>(U)
PlayableExtensions.GetTraversalMode<U>(U)
PlayableExtensions.SetTraversalMode<U>(U, PlayableTraversalMode)
AnimationPlayableExtensions.SetAnimatedProperties<U>(U, AnimationClip)
MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX