ParentIndex
Parent SkeletonNode index.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Field
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public int ParentIndex
Remarks
The root node is the first node of a skeleton and has a parent index of . Each other node must have a parent index that is lower than its own index, which means that you add a parent to a RigBuilder before its children. To get the index of a node from its identifier, use RigBuilder.GetBoneIndex.
-1