Instance Property

boundingBox

The extent of the voxel array’s volume in world coordinate space.

Declaration

@property(nonatomic, readonly) MDLAxisAlignedBoundingBox boundingBox;

Discussion

The coordinate space for the bounding box is the world space of the asset from which the voxel array was created, or for voxel arrays created with the initWithData:boundingBox:voxelExtent: initializer, the bounding box specified at initialization.

See Also

Relating Voxels to Scene Space

- indexOfSpatialLocation:

Returns voxel information corresponding to the specified point in the world coordinate space of the asset from which the voxel array was created.

- spatialLocationOfIndex:

Returns the location of the specified voxel in world coordinate space.

- voxelBoundingBoxAtIndex:

Returns the extent of the specified voxel’s volume in the world coordinate space of the asset from which the voxel array was created.