Instance Property

parentIndices

The parent index for each joint.

Declaration

@property(nonatomic, readonly) NSArray<NSNumber *> *parentIndices;

Discussion

This property may be used to identify the hierarchical dependency between joints. If a line is drawn for every joint and its parent joint, the result is a visualization of the underlying skeleton. The joint with no parent is denoted as the root joint. The root joint's parent index is -1.

See Also

Getting Joint Information

jointNames

A collection of unique joint names.

jointCount

The skeleton's total number of joints.

- indexForJointName:

Returns the index for a given joint identifier.