Instance Property

parentIndices

The parent index for each joint.

Declaration

@nonobjc var parentIndices: [Int] { get }

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

var jointNames: [String]

A collection of unique joint names.

var jointCount: Int

The skeleton's total number of joints.

func index(for: ARSkeleton.JointName) -> Int

Returns the index for a given joint identifier.