Documentation

Unity Engine

Download Unity

Unity Engine

ParentIndex

Parent SkeletonNode index.
Read time 1 minuteLast updated 4 hours ago

Definition

public int ParentIndex

Remarks

The root node is the first node of a skeleton and has a parent index of
-1
. 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.