GetBoneObject(int index) | Get the GameObject of a specific bone by index. |
GetBoneObject(string boneName) | Find a bone's GameObject by bone name. |
GetBoneObject(BoneCollection.Bone bone) | Get the GameObject of a specific bone. |
TryGetBoneTransform(string boneName, out Transform tx) | Try to get the final worldspace bone transform. |
TryGetBoneTransform(BoneCollection.Bone bone, out Transform tx) | Try to get the final worldspace bone transform. |
TryGetBoneTransformLocal(string boneName, out Transform tx) | Try to get the local bone transform. |
TryGetBoneTransformLocal(BoneCollection.Bone bone, out Transform tx) | Try to get the local bone transform. |
TryGetBoneTransformAnimation(BoneCollection.Bone bone, out Transform tx) | Try to get the worldspace bone transform after animation but before physics and procedural bones. |
SetBoneTransform(BoneCollection.Bone bone, Transform transform) | Set the transform of a specific bone. |
ClearPhysicsBones() | Clear all physics bones. |
GetBoneTransforms(bool world) | Allocate an array of bone transforms in either world space or parent space. |
GetBoneVelocities() | Allocate an array of bone velocities in world space. |
PostAnimationUpdate() | Perform updates after animation processing. |
GetAttachment(string name, bool worldSpace) | Get the attachment transform by name. |
Set(string v, Vector3 value) | Set a parameter with a Vector3 value. |
Set(string v, int value) | Set a parameter with an integer value. |
Set(string v, float value) | Set a parameter with a float value. |
Set(string v, bool value) | Set a parameter with a boolean value. |
Set(string v, Rotation value) | Set a parameter with a Rotation value. |
ClearParameters() | Remove any stored parameters. |
GetBool(string v) | Get a boolean parameter value. |
GetInt(string v) | Get an integer parameter value. |
GetFloat(string v) | Get a float parameter value. |
GetVector(string v) | Get a Vector3 parameter value. |
GetRotation(string v) | Get a Rotation parameter value. |
SetLookDirection(string name, Vector3 eyeDirectionWorld) | Converts value to vector local to this entity's eyepos and passes it to SetAnimVector. |
SetLookDirection(string name, Vector3 eyeDirectionWorld, float weight) | Converts value to vector local to this entity's eyepos and passes it to SetAnimVector. This also sets {name}_weight to the weight value. |
SetIk(string name, Transform tx) | Sets an IK parameter. This sets 3 variables that should be set in the animgraph: 1. ik.{name}.enabled 2. ik.{name}.position 3. ik.{name}.rotation |
ClearIk(string name) | This sets ik.{name}.enabled to false. |