Class SkeletonCache
Authoritative bone registry for humanoid skeletons Caches all bone data for fast lookup by gizmos, IK, and pose systems
public class SkeletonCache
- Inheritance
-
SkeletonCache
- Inherited Members
Constructors
SkeletonCache(Animator)
public SkeletonCache(Animator animator)
Parameters
animatorAnimator
Properties
AllBones
public IEnumerable<SkeletonCache.BoneData> AllBones { get; }
Property Value
Animator
public Animator Animator { get; }
Property Value
- Animator
Methods
ClearSelection()
public void ClearSelection()
GetBone(HumanBodyBones)
public SkeletonCache.BoneData GetBone(HumanBodyBones bone)
Parameters
boneHumanBodyBones
Returns
GetBone(Transform)
public SkeletonCache.BoneData GetBone(Transform transform)
Parameters
transformTransform
Returns
GetSelectedBone()
public SkeletonCache.BoneData GetSelectedBone()
Returns
HasBone(HumanBodyBones)
public bool HasBone(HumanBodyBones bone)
Parameters
boneHumanBodyBones
Returns
ResetToBindPose()
public void ResetToBindPose()
SelectBone(HumanBodyBones, bool)
public void SelectBone(HumanBodyBones bone, bool exclusive = true)
Parameters
boneHumanBodyBonesexclusivebool