C# Class UnityEngine.Animator

Inheritance: Behaviour
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Animator ( )

ForceStateNormalizedTime() public méthode

public ForceStateNormalizedTime ( float normalizedTime ) : void
normalizedTime float
Résultat void

GetAnimatorTransitionInfo() public méthode

public GetAnimatorTransitionInfo ( int layerIndex ) : AnimatorTransitionInfo
layerIndex int
Résultat AnimatorTransitionInfo

GetBoneTransform() public méthode

public GetBoneTransform ( HumanBodyBones humanBoneId ) : Transform
humanBoneId HumanBodyBones
Résultat Transform

GetBool() public méthode

public GetBool ( int id ) : bool
id int
Résultat bool

GetBool() public méthode

public GetBool ( string name ) : bool
name string
Résultat bool

GetCurrentAnimationClipState() public méthode

public GetCurrentAnimationClipState ( int layerIndex ) : UnityEngine.AnimationInfo[]
layerIndex int
Résultat UnityEngine.AnimationInfo[]

GetCurrentAnimatorStateInfo() public méthode

public GetCurrentAnimatorStateInfo ( int layerIndex ) : AnimatorStateInfo
layerIndex int
Résultat AnimatorStateInfo

GetFloat() public méthode

public GetFloat ( int id ) : float
id int
Résultat float

GetFloat() public méthode

public GetFloat ( string name ) : float
name string
Résultat float

GetIKPosition() public méthode

public GetIKPosition ( AvatarIKGoal goal ) : Vector3
goal AvatarIKGoal
Résultat Vector3

GetIKPositionWeight() public méthode

public GetIKPositionWeight ( AvatarIKGoal goal ) : float
goal AvatarIKGoal
Résultat float

GetIKRotation() public méthode

public GetIKRotation ( AvatarIKGoal goal ) : Quaternion
goal AvatarIKGoal
Résultat Quaternion

GetIKRotationWeight() public méthode

public GetIKRotationWeight ( AvatarIKGoal goal ) : float
goal AvatarIKGoal
Résultat float

GetInteger() public méthode

public GetInteger ( int id ) : int
id int
Résultat int

GetInteger() public méthode

public GetInteger ( string name ) : int
name string
Résultat int

GetLayerName() public méthode

public GetLayerName ( int layerIndex ) : string
layerIndex int
Résultat string

GetLayerWeight() public méthode

public GetLayerWeight ( int layerIndex ) : float
layerIndex int
Résultat float

GetNextAnimationClipState() public méthode

public GetNextAnimationClipState ( int layerIndex ) : UnityEngine.AnimationInfo[]
layerIndex int
Résultat UnityEngine.AnimationInfo[]

GetNextAnimatorStateInfo() public méthode

public GetNextAnimatorStateInfo ( int layerIndex ) : AnimatorStateInfo
layerIndex int
Résultat AnimatorStateInfo

GetQuaternion() public méthode

public GetQuaternion ( int id ) : Quaternion
id int
Résultat Quaternion

GetQuaternion() public méthode

public GetQuaternion ( string name ) : Quaternion
name string
Résultat Quaternion

GetVector() public méthode

public GetVector ( int id ) : Vector3
id int
Résultat Vector3

GetVector() public méthode

public GetVector ( string name ) : Vector3
name string
Résultat Vector3

InterruptMatchTarget() public méthode

public InterruptMatchTarget ( ) : void
Résultat void

InterruptMatchTarget() public méthode

public InterruptMatchTarget ( bool completeMatch ) : void
completeMatch bool
Résultat void

IsControlled() public méthode

public IsControlled ( Transform transform ) : bool
transform Transform
Résultat bool

IsInTransition() public méthode

public IsInTransition ( int layerIndex ) : bool
layerIndex int
Résultat bool

IsParameterControlledByCurve() public méthode

public IsParameterControlledByCurve ( int id ) : bool
id int
Résultat bool

IsParameterControlledByCurve() public méthode

public IsParameterControlledByCurve ( string name ) : bool
name string
Résultat bool

MatchTarget() public méthode

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

MatchTarget() public méthode

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
Résultat void

SetBool() public méthode

public SetBool ( int id, bool value ) : void
id int
value bool
Résultat void

SetBool() public méthode

public SetBool ( string name, bool value ) : void
name string
value bool
Résultat void

SetFloat() public méthode

public SetFloat ( int id, float value ) : void
id int
value float
Résultat void

SetFloat() public méthode

public SetFloat ( int id, float value, float dampTime, float deltaTime ) : void
id int
value float
dampTime float
deltaTime float
Résultat void

SetFloat() public méthode

public SetFloat ( string name, float value ) : void
name string
value float
Résultat void

SetFloat() public méthode

public SetFloat ( string name, float value, float dampTime, float deltaTime ) : void
name string
value float
dampTime float
deltaTime float
Résultat void

SetIKPosition() public méthode

public SetIKPosition ( AvatarIKGoal goal, Vector3 goalPosition ) : void
goal AvatarIKGoal
goalPosition Vector3
Résultat void

SetIKPositionWeight() public méthode

public SetIKPositionWeight ( AvatarIKGoal goal, float value ) : void
goal AvatarIKGoal
value float
Résultat void

SetIKRotation() public méthode

public SetIKRotation ( AvatarIKGoal goal, Quaternion goalRotation ) : void
goal AvatarIKGoal
goalRotation Quaternion
Résultat void

SetIKRotationWeight() public méthode

public SetIKRotationWeight ( AvatarIKGoal goal, float value ) : void
goal AvatarIKGoal
value float
Résultat void

SetInteger() public méthode

public SetInteger ( int id, int value ) : void
id int
value int
Résultat void

SetInteger() public méthode

public SetInteger ( string name, int value ) : void
name string
value int
Résultat void

SetLayerWeight() public méthode

public SetLayerWeight ( int layerIndex, float weight ) : void
layerIndex int
weight float
Résultat void

SetLookAtPosition() public méthode

public SetLookAtPosition ( Vector3 lookAtPosition ) : void
lookAtPosition Vector3
Résultat void

SetLookAtWeight() public méthode

public SetLookAtWeight ( float weight ) : void
weight float
Résultat void

SetLookAtWeight() public méthode

public SetLookAtWeight ( float weight, float bodyWeight ) : void
weight float
bodyWeight float
Résultat void

SetLookAtWeight() public méthode

public SetLookAtWeight ( float weight, float bodyWeight, float headWeight ) : void
weight float
bodyWeight float
headWeight float
Résultat void

SetLookAtWeight() public méthode

public SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight ) : void
weight float
bodyWeight float
headWeight float
eyesWeight float
Résultat void

SetLookAtWeight() public méthode

public SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight, float clampWeight ) : void
weight float
bodyWeight float
headWeight float
eyesWeight float
clampWeight float
Résultat void

SetQuaternion() public méthode

public SetQuaternion ( int id, Quaternion value ) : void
id int
value Quaternion
Résultat void

SetQuaternion() public méthode

public SetQuaternion ( string name, Quaternion value ) : void
name string
value Quaternion
Résultat void

SetTarget() public méthode

public SetTarget ( AvatarTarget targetIndex, float targetNormalizedTime ) : void
targetIndex AvatarTarget
targetNormalizedTime float
Résultat void

SetVector() public méthode

public SetVector ( int id, Vector3 value ) : void
id int
value Vector3
Résultat void

SetVector() public méthode

public SetVector ( string name, Vector3 value ) : void
name string
value Vector3
Résultat void

StringToHash() public static méthode

public static StringToHash ( string name ) : int
name string
Résultat int