C# Class UnityEngine.Animator

Inheritance: Behaviour
Mostrar archivo Open project: randomize/VimConfig Class Usage Examples

Private Properties

Property Type Description
GetBoolID bool
GetBoolString bool
GetFloatID float
GetFloatString float
GetIntegerID int
GetIntegerString int
GetQuaternionID Quaternion
GetQuaternionString Quaternion
GetVectorID Vector3
GetVectorString Vector3
INTERNAL_CALL_MatchTarget void
INTERNAL_CALL_SetIKPosition void
INTERNAL_CALL_SetIKRotation void
INTERNAL_CALL_SetLookAtPosition void
INTERNAL_CALL_SetQuaternionID void
INTERNAL_CALL_SetQuaternionString void
INTERNAL_CALL_SetVectorID void
INTERNAL_CALL_SetVectorString void
INTERNAL_get_bodyPosition void
INTERNAL_get_bodyRotation void
INTERNAL_get_rootPosition void
INTERNAL_get_rootRotation void
INTERNAL_set_bodyPosition void
INTERNAL_set_bodyRotation void
INTERNAL_set_rootPosition void
INTERNAL_set_rootRotation void
IsParameterControlledByCurveID bool
IsParameterControlledByCurveString bool
PlaybackRecordedFrame void
SetBoolID void
SetBoolString void
SetFloatID void
SetFloatIDDamp void
SetFloatString void
SetFloatStringDamp void
SetIntegerID void
SetIntegerString void
SetQuaternionID void
SetQuaternionString void
SetVectorID void
SetVectorString void
StartRecording void
StopRecording void
Update void
WriteDefaultPose void

Public Methods

Method Description
Animator ( )
ForceStateNormalizedTime ( float normalizedTime ) : void
GetAnimatorTransitionInfo ( int layerIndex ) : AnimatorTransitionInfo
GetBoneTransform ( HumanBodyBones humanBoneId ) : Transform
GetBool ( int id ) : bool
GetBool ( string name ) : bool
GetCurrentAnimationClipState ( int layerIndex ) : UnityEngine.AnimationInfo[]
GetCurrentAnimatorStateInfo ( int layerIndex ) : AnimatorStateInfo
GetFloat ( int id ) : float
GetFloat ( string name ) : float
GetIKPosition ( AvatarIKGoal goal ) : Vector3
GetIKPositionWeight ( AvatarIKGoal goal ) : float
GetIKRotation ( AvatarIKGoal goal ) : Quaternion
GetIKRotationWeight ( AvatarIKGoal goal ) : float
GetInteger ( int id ) : int
GetInteger ( string name ) : int
GetLayerName ( int layerIndex ) : string
GetLayerWeight ( int layerIndex ) : float
GetNextAnimationClipState ( int layerIndex ) : UnityEngine.AnimationInfo[]
GetNextAnimatorStateInfo ( int layerIndex ) : AnimatorStateInfo
GetQuaternion ( int id ) : Quaternion
GetQuaternion ( string name ) : Quaternion
GetVector ( int id ) : Vector3
GetVector ( string name ) : Vector3
InterruptMatchTarget ( ) : void
InterruptMatchTarget ( bool completeMatch ) : void
IsControlled ( Transform transform ) : bool
IsInTransition ( int layerIndex ) : bool
IsParameterControlledByCurve ( int id ) : bool
IsParameterControlledByCurve ( string name ) : bool
MatchTarget ( Vector3 matchPosition, Quaternion matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask weightMask, float startNormalizedTime ) : void
MatchTarget ( Vector3 matchPosition, Quaternion matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask weightMask, float startNormalizedTime, float targetNormalizedTime ) : void
SetBool ( int id, bool value ) : void
SetBool ( string name, bool value ) : void
SetFloat ( int id, float value ) : void
SetFloat ( int id, float value, float dampTime, float deltaTime ) : void
SetFloat ( string name, float value ) : void
SetFloat ( string name, float value, float dampTime, float deltaTime ) : void
SetIKPosition ( AvatarIKGoal goal, Vector3 goalPosition ) : void
SetIKPositionWeight ( AvatarIKGoal goal, float value ) : void
SetIKRotation ( AvatarIKGoal goal, Quaternion goalRotation ) : void
SetIKRotationWeight ( AvatarIKGoal goal, float value ) : void
SetInteger ( int id, int value ) : void
SetInteger ( string name, int value ) : void
SetLayerWeight ( int layerIndex, float weight ) : void
SetLookAtPosition ( Vector3 lookAtPosition ) : void
SetLookAtWeight ( float weight ) : void
SetLookAtWeight ( float weight, float bodyWeight ) : void
SetLookAtWeight ( float weight, float bodyWeight, float headWeight ) : void
SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight ) : void
SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight, float clampWeight ) : void
SetQuaternion ( int id, Quaternion value ) : void
SetQuaternion ( string name, Quaternion value ) : void
SetTarget ( AvatarTarget targetIndex, float targetNormalizedTime ) : void
SetVector ( int id, Vector3 value ) : void
SetVector ( string name, Vector3 value ) : void
StringToHash ( string name ) : int

Private Methods

Method Description
GetBoolID ( int id ) : bool
GetBoolString ( string name ) : bool
GetFloatID ( int id ) : float
GetFloatString ( string name ) : float
GetIntegerID ( int id ) : int
GetIntegerString ( string name ) : int
GetQuaternionID ( int id ) : Quaternion
GetQuaternionString ( string name ) : Quaternion
GetVectorID ( int id ) : Vector3
GetVectorString ( string name ) : Vector3
INTERNAL_CALL_MatchTarget ( Animator self, Vector3 &matchPosition, Quaternion &matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask &weightMask, float startNormalizedTime, float targetNormalizedTime ) : void
INTERNAL_CALL_SetIKPosition ( Animator self, AvatarIKGoal goal, Vector3 &goalPosition ) : void
INTERNAL_CALL_SetIKRotation ( Animator self, AvatarIKGoal goal, Quaternion &goalRotation ) : void
INTERNAL_CALL_SetLookAtPosition ( Animator self, Vector3 &lookAtPosition ) : void
INTERNAL_CALL_SetQuaternionID ( Animator self, int id, Quaternion &value ) : void
INTERNAL_CALL_SetQuaternionString ( Animator self, string name, Quaternion &value ) : void
INTERNAL_CALL_SetVectorID ( Animator self, int id, Vector3 &value ) : void
INTERNAL_CALL_SetVectorString ( Animator self, string name, Vector3 &value ) : void
INTERNAL_get_bodyPosition ( Vector3 &value ) : void
INTERNAL_get_bodyRotation ( Quaternion &value ) : void
INTERNAL_get_rootPosition ( Vector3 &value ) : void
INTERNAL_get_rootRotation ( Quaternion &value ) : void
INTERNAL_set_bodyPosition ( Vector3 &value ) : void
INTERNAL_set_bodyRotation ( Quaternion &value ) : void
INTERNAL_set_rootPosition ( Vector3 &value ) : void
INTERNAL_set_rootRotation ( Quaternion &value ) : void
IsParameterControlledByCurveID ( int id ) : bool
IsParameterControlledByCurveString ( string name ) : bool
PlaybackRecordedFrame ( float time ) : void
SetBoolID ( int id, bool value ) : void
SetBoolString ( string name, bool value ) : void
SetFloatID ( int id, float value ) : void
SetFloatIDDamp ( int id, float value, float dampTime, float deltaTime ) : void
SetFloatString ( string name, float value ) : void
SetFloatStringDamp ( string name, float value, float dampTime, float deltaTime ) : void
SetIntegerID ( int id, int value ) : void
SetIntegerString ( string name, int value ) : void
SetQuaternionID ( int id, Quaternion value ) : void
SetQuaternionString ( string name, Quaternion value ) : void
SetVectorID ( int id, Vector3 value ) : void
SetVectorString ( string name, Vector3 value ) : void
StartRecording ( ) : void
StopRecording ( ) : void
Update ( float deltaTime ) : void
WriteDefaultPose ( ) : void

Method Details

Animator() public method

public Animator ( )

ForceStateNormalizedTime() public method

public ForceStateNormalizedTime ( float normalizedTime ) : void
normalizedTime float
return void

GetAnimatorTransitionInfo() public method

public GetAnimatorTransitionInfo ( int layerIndex ) : AnimatorTransitionInfo
layerIndex int
return AnimatorTransitionInfo

GetBoneTransform() public method

public GetBoneTransform ( HumanBodyBones humanBoneId ) : Transform
humanBoneId HumanBodyBones
return Transform

GetBool() public method

public GetBool ( int id ) : bool
id int
return bool

GetBool() public method

public GetBool ( string name ) : bool
name string
return bool

GetCurrentAnimationClipState() public method

public GetCurrentAnimationClipState ( int layerIndex ) : UnityEngine.AnimationInfo[]
layerIndex int
return UnityEngine.AnimationInfo[]

GetCurrentAnimatorStateInfo() public method

public GetCurrentAnimatorStateInfo ( int layerIndex ) : AnimatorStateInfo
layerIndex int
return AnimatorStateInfo

GetFloat() public method

public GetFloat ( int id ) : float
id int
return float

GetFloat() public method

public GetFloat ( string name ) : float
name string
return float

GetIKPosition() public method

public GetIKPosition ( AvatarIKGoal goal ) : Vector3
goal AvatarIKGoal
return Vector3

GetIKPositionWeight() public method

public GetIKPositionWeight ( AvatarIKGoal goal ) : float
goal AvatarIKGoal
return float

GetIKRotation() public method

public GetIKRotation ( AvatarIKGoal goal ) : Quaternion
goal AvatarIKGoal
return Quaternion

GetIKRotationWeight() public method

public GetIKRotationWeight ( AvatarIKGoal goal ) : float
goal AvatarIKGoal
return float

GetInteger() public method

public GetInteger ( int id ) : int
id int
return int

GetInteger() public method

public GetInteger ( string name ) : int
name string
return int

GetLayerName() public method

public GetLayerName ( int layerIndex ) : string
layerIndex int
return string

GetLayerWeight() public method

public GetLayerWeight ( int layerIndex ) : float
layerIndex int
return float

GetNextAnimationClipState() public method

public GetNextAnimationClipState ( int layerIndex ) : UnityEngine.AnimationInfo[]
layerIndex int
return UnityEngine.AnimationInfo[]

GetNextAnimatorStateInfo() public method

public GetNextAnimatorStateInfo ( int layerIndex ) : AnimatorStateInfo
layerIndex int
return AnimatorStateInfo

GetQuaternion() public method

public GetQuaternion ( int id ) : Quaternion
id int
return Quaternion

GetQuaternion() public method

public GetQuaternion ( string name ) : Quaternion
name string
return Quaternion

GetVector() public method

public GetVector ( int id ) : Vector3
id int
return Vector3

GetVector() public method

public GetVector ( string name ) : Vector3
name string
return Vector3

InterruptMatchTarget() public method

public InterruptMatchTarget ( ) : void
return void

InterruptMatchTarget() public method

public InterruptMatchTarget ( bool completeMatch ) : void
completeMatch bool
return void

IsControlled() public method

public IsControlled ( Transform transform ) : bool
transform Transform
return bool

IsInTransition() public method

public IsInTransition ( int layerIndex ) : bool
layerIndex int
return bool

IsParameterControlledByCurve() public method

public IsParameterControlledByCurve ( int id ) : bool
id int
return bool

IsParameterControlledByCurve() public method

public IsParameterControlledByCurve ( string name ) : bool
name string
return bool

MatchTarget() public method

public MatchTarget ( Vector3 matchPosition, Quaternion matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask weightMask, float startNormalizedTime ) : void
matchPosition Vector3
matchRotation Quaternion
targetBodyPart AvatarTarget
weightMask MatchTargetWeightMask
startNormalizedTime float
return void

MatchTarget() public method

public MatchTarget ( Vector3 matchPosition, Quaternion matchRotation, AvatarTarget targetBodyPart, MatchTargetWeightMask weightMask, float startNormalizedTime, float targetNormalizedTime ) : void
matchPosition Vector3
matchRotation Quaternion
targetBodyPart AvatarTarget
weightMask MatchTargetWeightMask
startNormalizedTime float
targetNormalizedTime float
return void

SetBool() public method

public SetBool ( int id, bool value ) : void
id int
value bool
return void

SetBool() public method

public SetBool ( string name, bool value ) : void
name string
value bool
return void

SetFloat() public method

public SetFloat ( int id, float value ) : void
id int
value float
return void

SetFloat() public method

public SetFloat ( int id, float value, float dampTime, float deltaTime ) : void
id int
value float
dampTime float
deltaTime float
return void

SetFloat() public method

public SetFloat ( string name, float value ) : void
name string
value float
return void

SetFloat() public method

public SetFloat ( string name, float value, float dampTime, float deltaTime ) : void
name string
value float
dampTime float
deltaTime float
return void

SetIKPosition() public method

public SetIKPosition ( AvatarIKGoal goal, Vector3 goalPosition ) : void
goal AvatarIKGoal
goalPosition Vector3
return void

SetIKPositionWeight() public method

public SetIKPositionWeight ( AvatarIKGoal goal, float value ) : void
goal AvatarIKGoal
value float
return void

SetIKRotation() public method

public SetIKRotation ( AvatarIKGoal goal, Quaternion goalRotation ) : void
goal AvatarIKGoal
goalRotation Quaternion
return void

SetIKRotationWeight() public method

public SetIKRotationWeight ( AvatarIKGoal goal, float value ) : void
goal AvatarIKGoal
value float
return void

SetInteger() public method

public SetInteger ( int id, int value ) : void
id int
value int
return void

SetInteger() public method

public SetInteger ( string name, int value ) : void
name string
value int
return void

SetLayerWeight() public method

public SetLayerWeight ( int layerIndex, float weight ) : void
layerIndex int
weight float
return void

SetLookAtPosition() public method

public SetLookAtPosition ( Vector3 lookAtPosition ) : void
lookAtPosition Vector3
return void

SetLookAtWeight() public method

public SetLookAtWeight ( float weight ) : void
weight float
return void

SetLookAtWeight() public method

public SetLookAtWeight ( float weight, float bodyWeight ) : void
weight float
bodyWeight float
return void

SetLookAtWeight() public method

public SetLookAtWeight ( float weight, float bodyWeight, float headWeight ) : void
weight float
bodyWeight float
headWeight float
return void

SetLookAtWeight() public method

public SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight ) : void
weight float
bodyWeight float
headWeight float
eyesWeight float
return void

SetLookAtWeight() public method

public SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight, float clampWeight ) : void
weight float
bodyWeight float
headWeight float
eyesWeight float
clampWeight float
return void

SetQuaternion() public method

public SetQuaternion ( int id, Quaternion value ) : void
id int
value Quaternion
return void

SetQuaternion() public method

public SetQuaternion ( string name, Quaternion value ) : void
name string
value Quaternion
return void

SetTarget() public method

public SetTarget ( AvatarTarget targetIndex, float targetNormalizedTime ) : void
targetIndex AvatarTarget
targetNormalizedTime float
return void

SetVector() public method

public SetVector ( int id, Vector3 value ) : void
id int
value Vector3
return void

SetVector() public method

public SetVector ( string name, Vector3 value ) : void
name string
value Vector3
return void

StringToHash() public static method

public static StringToHash ( string name ) : int
name string
return int