Class Animator
Assembly: UnityEngine.dll
Syntax
public class Animator : Behaviour
Properties
angularVelocity
Declaration
public Vector3 angularVelocity { get; }
Property Value
|
Improve this Doc
View Source
animatePhysics
Declaration
[Obsolete("Animator.animatePhysics has been deprecated. Use Animator.updateMode instead.")]
public bool animatePhysics { get; set; }
Property Value
applyRootMotion
Declaration
public bool applyRootMotion { get; set; }
Property Value
avatar
Declaration
public Avatar avatar { get; set; }
Property Value
|
Improve this Doc
View Source
bodyPosition
Declaration
public Vector3 bodyPosition { get; set; }
Property Value
|
Improve this Doc
View Source
bodyRotation
Declaration
public Quaternion bodyRotation { get; set; }
Property Value
cullingMode
Declaration
public AnimatorCullingMode cullingMode { get; set; }
Property Value
deltaPosition
Declaration
public Vector3 deltaPosition { get; }
Property Value
deltaRotation
Declaration
public Quaternion deltaRotation { get; }
Property Value
feetPivotActive
Declaration
public float feetPivotActive { get; set; }
Property Value
fireEvents
Declaration
public bool fireEvents { get; set; }
Property Value
gravityWeight
Declaration
public float gravityWeight { get; }
Property Value
hasBoundPlayables
Declaration
public bool hasBoundPlayables { get; }
Property Value
hasRootMotion
Declaration
public bool hasRootMotion { get; }
Property Value
Declaration
public bool hasTransformHierarchy { get; }
Property Value
humanScale
Declaration
public float humanScale { get; }
Property Value
isHuman
Declaration
public bool isHuman { get; }
Property Value
isInitialized
Declaration
public bool isInitialized { get; }
Property Value
isMatchingTarget
Declaration
public bool isMatchingTarget { get; }
Property Value
isOptimizable
Declaration
public bool isOptimizable { get; }
Property Value
keepAnimatorControllerStateOnDisable
Declaration
public bool keepAnimatorControllerStateOnDisable { get; set; }
Property Value
layerCount
Declaration
public int layerCount { get; }
Property Value
layersAffectMassCenter
Declaration
public bool layersAffectMassCenter { get; set; }
Property Value
leftFeetBottomHeight
Declaration
public float leftFeetBottomHeight { get; }
Property Value
linearVelocityBlending
Declaration
[Obsolete("Animator.linearVelocityBlending is no longer used and has been deprecated.")]
public bool linearVelocityBlending { get; set; }
Property Value
logWarnings
Declaration
public bool logWarnings { get; set; }
Property Value
parameterCount
Declaration
public int parameterCount { get; }
Property Value
parameters
Declaration
public AnimatorControllerParameter[] parameters { get; }
Property Value
pivotPosition
Declaration
public Vector3 pivotPosition { get; }
Property Value
pivotWeight
Declaration
public float pivotWeight { get; }
Property Value
|
Improve this Doc
View Source
playableGraph
Declaration
public PlayableGraph playableGraph { get; }
Property Value
playbackTime
Declaration
public float playbackTime { get; set; }
Property Value
recorderMode
Declaration
public AnimatorRecorderMode recorderMode { get; }
Property Value
|
Improve this Doc
View Source
recorderStartTime
Declaration
public float recorderStartTime { get; set; }
Property Value
|
Improve this Doc
View Source
recorderStopTime
Declaration
public float recorderStopTime { get; set; }
Property Value
rightFeetBottomHeight
Declaration
public float rightFeetBottomHeight { get; }
Property Value
rootPosition
Declaration
public Vector3 rootPosition { get; set; }
Property Value
rootRotation
Declaration
public Quaternion rootRotation { get; set; }
Property Value
runtimeAnimatorController
Declaration
public RuntimeAnimatorController runtimeAnimatorController { get; set; }
Property Value
speed
Declaration
public float speed { get; set; }
Property Value
stabilizeFeet
Declaration
public bool stabilizeFeet { get; set; }
Property Value
targetPosition
Declaration
public Vector3 targetPosition { get; }
Property Value
targetRotation
Declaration
public Quaternion targetRotation { get; }
Property Value
updateMode
Declaration
public AnimatorUpdateMode updateMode { get; set; }
Property Value
velocity
Declaration
public Vector3 velocity { get; }
Property Value
Methods
ApplyBuiltinRootMotion()
Declaration
public void ApplyBuiltinRootMotion()
|
Improve this Doc
View Source
CrossFade(Int32, Single)
Declaration
public void CrossFade(int stateHashName, float normalizedTransitionDuration)
Parameters
Type |
Name |
Description |
Int32 |
stateHashName |
|
Single |
normalizedTransitionDuration |
|
|
Improve this Doc
View Source
CrossFade(Int32, Single, Int32)
Declaration
public void CrossFade(int stateHashName, float normalizedTransitionDuration, int layer)
Parameters
Type |
Name |
Description |
Int32 |
stateHashName |
|
Single |
normalizedTransitionDuration |
|
Int32 |
layer |
|
|
Improve this Doc
View Source
CrossFade(Int32, Single, Int32, Single)
Declaration
public void CrossFade(int stateHashName, float normalizedTransitionDuration, int layer, float normalizedTimeOffset)
Parameters
Type |
Name |
Description |
Int32 |
stateHashName |
|
Single |
normalizedTransitionDuration |
|
Int32 |
layer |
|
Single |
normalizedTimeOffset |
|
CrossFade(Int32, Single, Int32, Single, Single)
Declaration
public void CrossFade(int stateHashName, float normalizedTransitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("0.0f")] float normalizedTimeOffset, [DefaultValue("0.0f")] float normalizedTransitionTime)
Parameters
Type |
Name |
Description |
Int32 |
stateHashName |
|
Single |
normalizedTransitionDuration |
|
Int32 |
layer |
|
Single |
normalizedTimeOffset |
|
Single |
normalizedTransitionTime |
|
|
Improve this Doc
View Source
CrossFade(String, Single)
Declaration
public void CrossFade(string stateName, float normalizedTransitionDuration)
Parameters
Type |
Name |
Description |
String |
stateName |
|
Single |
normalizedTransitionDuration |
|
|
Improve this Doc
View Source
CrossFade(String, Single, Int32)
Declaration
public void CrossFade(string stateName, float normalizedTransitionDuration, int layer)
Parameters
Type |
Name |
Description |
String |
stateName |
|
Single |
normalizedTransitionDuration |
|
Int32 |
layer |
|
|
Improve this Doc
View Source
CrossFade(String, Single, Int32, Single)
Declaration
public void CrossFade(string stateName, float normalizedTransitionDuration, int layer, float normalizedTimeOffset)
Parameters
|
Improve this Doc
View Source
CrossFade(String, Single, Int32, Single, Single)
Declaration
public void CrossFade(string stateName, float normalizedTransitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("float.NegativeInfinity")] float normalizedTimeOffset, [DefaultValue("0.0f")] float normalizedTransitionTime)
Parameters
Type |
Name |
Description |
String |
stateName |
|
Single |
normalizedTransitionDuration |
|
Int32 |
layer |
|
Single |
normalizedTimeOffset |
|
Single |
normalizedTransitionTime |
|
|
Improve this Doc
View Source
CrossFadeInFixedTime(Int32, Single)
Declaration
public void CrossFadeInFixedTime(int stateHashName, float fixedTransitionDuration)
Parameters
Type |
Name |
Description |
Int32 |
stateHashName |
|
Single |
fixedTransitionDuration |
|
|
Improve this Doc
View Source
CrossFadeInFixedTime(Int32, Single, Int32)
Declaration
public void CrossFadeInFixedTime(int stateHashName, float fixedTransitionDuration, int layer)
Parameters
Type |
Name |
Description |
Int32 |
stateHashName |
|
Single |
fixedTransitionDuration |
|
Int32 |
layer |
|
|
Improve this Doc
View Source
CrossFadeInFixedTime(Int32, Single, Int32, Single)
Declaration
public void CrossFadeInFixedTime(int stateHashName, float fixedTransitionDuration, int layer, float fixedTimeOffset)
Parameters
CrossFadeInFixedTime(Int32, Single, Int32, Single, Single)
Declaration
public void CrossFadeInFixedTime(int stateHashName, float fixedTransitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("0.0f")] float fixedTimeOffset, [DefaultValue("0.0f")] float normalizedTransitionTime)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single)
Declaration
public void CrossFadeInFixedTime(string stateName, float fixedTransitionDuration)
Parameters
Type |
Name |
Description |
String |
stateName |
|
Single |
fixedTransitionDuration |
|
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single, Int32)
Declaration
public void CrossFadeInFixedTime(string stateName, float fixedTransitionDuration, int layer)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single, Int32, Single)
Declaration
public void CrossFadeInFixedTime(string stateName, float fixedTransitionDuration, int layer, float fixedTimeOffset)
Parameters
|
Improve this Doc
View Source
CrossFadeInFixedTime(String, Single, Int32, Single, Single)
Declaration
public void CrossFadeInFixedTime(string stateName, float fixedTransitionDuration, [DefaultValue("-1")] int layer, [DefaultValue("0.0f")] float fixedTimeOffset, [DefaultValue("0.0f")] float normalizedTransitionTime)
Parameters
|
Improve this Doc
View Source
ForceStateNormalizedTime(Single)
Declaration
[Obsolete("ForceStateNormalizedTime is deprecated. Please use Play or CrossFade instead.")]
public void ForceStateNormalizedTime(float normalizedTime)
Parameters
Type |
Name |
Description |
Single |
normalizedTime |
|
|
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
GetBehaviour<T>()
Declaration
public T GetBehaviour<T>()
where T : StateMachineBehaviour
Returns
Type Parameters
|
Improve this Doc
View Source
GetBehaviours(Int32, Int32)
Declaration
public StateMachineBehaviour[] GetBehaviours(int fullPathHash, int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
fullPathHash |
|
Int32 |
layerIndex |
|
Returns
|
Improve this Doc
View Source
GetBehaviours<T>()
Declaration
public T[] GetBehaviours<T>()
where T : StateMachineBehaviour
Returns
Type Parameters
|
Improve this Doc
View Source
GetBoneTransform(HumanBodyBones)
Declaration
public Transform GetBoneTransform(HumanBodyBones humanBoneId)
Parameters
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
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
GetIKHintPosition(AvatarIKHint)
Declaration
public Vector3 GetIKHintPosition(AvatarIKHint hint)
Parameters
Returns
|
Improve this Doc
View Source
GetIKHintPositionWeight(AvatarIKHint)
Declaration
public float GetIKHintPositionWeight(AvatarIKHint hint)
Parameters
Returns
|
Improve this Doc
View Source
GetIKPosition(AvatarIKGoal)
Declaration
public Vector3 GetIKPosition(AvatarIKGoal goal)
Parameters
Returns
|
Improve this Doc
View Source
GetIKPositionWeight(AvatarIKGoal)
Declaration
public float GetIKPositionWeight(AvatarIKGoal goal)
Parameters
Returns
|
Improve this Doc
View Source
GetIKRotation(AvatarIKGoal)
Declaration
public Quaternion GetIKRotation(AvatarIKGoal goal)
Parameters
Returns
|
Improve this Doc
View Source
GetIKRotationWeight(AvatarIKGoal)
Declaration
public float GetIKRotationWeight(AvatarIKGoal goal)
Parameters
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
GetLayerIndex(String)
Declaration
public int GetLayerIndex(string layerName)
Parameters
Type |
Name |
Description |
String |
layerName |
|
Returns
GetLayerName(Int32)
Declaration
public string GetLayerName(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
GetLayerWeight(Int32)
Declaration
public float GetLayerWeight(int layerIndex)
Parameters
Type |
Name |
Description |
Int32 |
layerIndex |
|
Returns
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
GetQuaternion(Int32)
Declaration
[Obsolete("GetQuaternion is deprecated.")]
public Quaternion GetQuaternion(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
|
Improve this Doc
View Source
GetQuaternion(String)
Declaration
[Obsolete("GetQuaternion is deprecated.")]
public Quaternion GetQuaternion(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
GetVector(Int32)
Declaration
[Obsolete("GetVector is deprecated.")]
public Vector3 GetVector(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
|
Improve this Doc
View Source
GetVector(String)
Declaration
[Obsolete("GetVector is deprecated.")]
public Vector3 GetVector(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
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
InterruptMatchTarget()
Declaration
public void InterruptMatchTarget()
InterruptMatchTarget(Boolean)
Declaration
public void InterruptMatchTarget([DefaultValue("true")] bool completeMatch)
Parameters
Type |
Name |
Description |
Boolean |
completeMatch |
|
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
MatchTarget(Vector3, Quaternion, AvatarTarget, MatchTargetWeightMask, Single)
Declaration
public void MatchTarget(Vector3 matchPosition, Quaternion matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask weightMask, float startNormalizedTime)
Parameters
|
Improve this Doc
View Source
MatchTarget(Vector3, Quaternion, AvatarTarget, MatchTargetWeightMask, Single, Single)
Declaration
public void MatchTarget(Vector3 matchPosition, Quaternion matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask weightMask, float startNormalizedTime, [DefaultValue("1")] float targetNormalizedTime)
Parameters
|
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 |
|
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 |
|
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
Rebind()
Declaration
|
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
SetBoneLocalRotation(HumanBodyBones, Quaternion)
Declaration
public void SetBoneLocalRotation(HumanBodyBones humanBoneId, Quaternion rotation)
Parameters
|
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(Int32, Single, Single, Single)
Declaration
public void SetFloat(int id, float value, float dampTime, float deltaTime)
Parameters
|
Improve this Doc
View Source
SetFloat(String, Single)
Declaration
public void SetFloat(string name, float value)
Parameters
|
Improve this Doc
View Source
SetFloat(String, Single, Single, Single)
Declaration
public void SetFloat(string name, float value, float dampTime, float deltaTime)
Parameters
|
Improve this Doc
View Source
SetIKHintPosition(AvatarIKHint, Vector3)
Declaration
public void SetIKHintPosition(AvatarIKHint hint, Vector3 hintPosition)
Parameters
|
Improve this Doc
View Source
SetIKHintPositionWeight(AvatarIKHint, Single)
Declaration
public void SetIKHintPositionWeight(AvatarIKHint hint, float value)
Parameters
|
Improve this Doc
View Source
SetIKPosition(AvatarIKGoal, Vector3)
Declaration
public void SetIKPosition(AvatarIKGoal goal, Vector3 goalPosition)
Parameters
|
Improve this Doc
View Source
SetIKPositionWeight(AvatarIKGoal, Single)
Declaration
public void SetIKPositionWeight(AvatarIKGoal goal, float value)
Parameters
|
Improve this Doc
View Source
SetIKRotation(AvatarIKGoal, Quaternion)
Declaration
public void SetIKRotation(AvatarIKGoal goal, Quaternion goalRotation)
Parameters
|
Improve this Doc
View Source
SetIKRotationWeight(AvatarIKGoal, Single)
Declaration
public void SetIKRotationWeight(AvatarIKGoal goal, float value)
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
SetLayerWeight(Int32, Single)
Declaration
public void SetLayerWeight(int layerIndex, float weight)
Parameters
|
Improve this Doc
View Source
SetLookAtPosition(Vector3)
Declaration
public void SetLookAtPosition(Vector3 lookAtPosition)
Parameters
Type |
Name |
Description |
Vector3 |
lookAtPosition |
|
|
Improve this Doc
View Source
SetLookAtWeight(Single)
Declaration
public void SetLookAtWeight(float weight)
Parameters
Type |
Name |
Description |
Single |
weight |
|
|
Improve this Doc
View Source
SetLookAtWeight(Single, Single)
Declaration
public void SetLookAtWeight(float weight, float bodyWeight)
Parameters
|
Improve this Doc
View Source
SetLookAtWeight(Single, Single, Single)
Declaration
public void SetLookAtWeight(float weight, float bodyWeight, float headWeight)
Parameters
|
Improve this Doc
View Source
SetLookAtWeight(Single, Single, Single, Single)
Declaration
public void SetLookAtWeight(float weight, float bodyWeight, float headWeight, float eyesWeight)
Parameters
|
Improve this Doc
View Source
SetLookAtWeight(Single, Single, Single, Single, Single)
Declaration
public void SetLookAtWeight(float weight, [DefaultValue("0.0f")] float bodyWeight, [DefaultValue("1.0f")] float headWeight, [DefaultValue("0.0f")] float eyesWeight, [DefaultValue("0.5f")] float clampWeight)
Parameters
|
Improve this Doc
View Source
SetQuaternion(Int32, Quaternion)
Declaration
[Obsolete("SetQuaternion is deprecated.")]
public void SetQuaternion(int id, Quaternion value)
Parameters
|
Improve this Doc
View Source
SetQuaternion(String, Quaternion)
Declaration
[Obsolete("SetQuaternion is deprecated.")]
public void SetQuaternion(string name, Quaternion value)
Parameters
SetTarget(AvatarTarget, Single)
Declaration
public void SetTarget(AvatarTarget targetIndex, float targetNormalizedTime)
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 |
|
|
Improve this Doc
View Source
SetVector(Int32, Vector3)
Declaration
[Obsolete("SetVector is deprecated.")]
public void SetVector(int id, Vector3 value)
Parameters
|
Improve this Doc
View Source
SetVector(String, Vector3)
Declaration
[Obsolete("SetVector is deprecated.")]
public void SetVector(string name, Vector3 value)
Parameters
StartPlayback()
Declaration
public void StartPlayback()
StartRecording(Int32)
Declaration
public void StartRecording(int frameCount)
Parameters
Type |
Name |
Description |
Int32 |
frameCount |
|
StopPlayback()
Declaration
public void StopPlayback()
StopRecording()
Declaration
public void StopRecording()
StringToHash(String)
Declaration
public static int StringToHash(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Update(Single)
Declaration
public void Update(float deltaTime)
Parameters
Type |
Name |
Description |
Single |
deltaTime |
|
WriteDefaultValues()
Declaration
public void WriteDefaultValues()
Extension Methods