Contents

boundingBox

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

Declaration

var boundingBox: MDLAxisAlignedBoundingBox { get }

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 init(data:boundingBox:voxelExtent:) initializer, the bounding box specified at initialization.

See Also

Relating Voxels to Scene Space