Instance Property

boneIndices

The geometry source defining the mapping from bone indices in skeleton data to the skinner’s bones array.

Declaration

@property(readonly, nonatomic) SCNGeometrySource *boneIndices;

Discussion

This geometry source’s semantic property must be SCNGeometrySourceSemanticBoneIndices. Its data is an array of integer vectors, each of which corresponds to a weight vector in the boneWeights geometry source. Each component in a vector specifies the index of the node in the bones array for the corresponding bone weight component.

See Also

Working with an Animation Skeleton

skeleton

The root node of the skinner object’s animation skeleton.

bones

The control nodes of the animation skeleton.

boneInverseBindTransforms

The default transforms for the animation skeleton’s bone nodes.

boneWeights

The geometry source that defines the influence of each bone on the positions the geometry’s vertices.