Table of Contents

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

animator Animator

Properties

AllBones

public IEnumerable<SkeletonCache.BoneData> AllBones { get; }

Property Value

IEnumerable<SkeletonCache.BoneData>

Animator

public Animator Animator { get; }

Property Value

Animator

Methods

ClearSelection()

public void ClearSelection()

GetBone(HumanBodyBones)

public SkeletonCache.BoneData GetBone(HumanBodyBones bone)

Parameters

bone HumanBodyBones

Returns

SkeletonCache.BoneData

GetBone(Transform)

public SkeletonCache.BoneData GetBone(Transform transform)

Parameters

transform Transform

Returns

SkeletonCache.BoneData

GetSelectedBone()

public SkeletonCache.BoneData GetSelectedBone()

Returns

SkeletonCache.BoneData

HasBone(HumanBodyBones)

public bool HasBone(HumanBodyBones bone)

Parameters

bone HumanBodyBones

Returns

bool

ResetToBindPose()

public void ResetToBindPose()

SelectBone(HumanBodyBones, bool)

public void SelectBone(HumanBodyBones bone, bool exclusive = true)

Parameters

bone HumanBodyBones
exclusive bool