Returns a data object containing all voxels within the voxel array.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
NSData object contains an array of
MDLVoxelIndex values describing the locations of voxels within the voxel array as well as their volumetric relationship to the object modeled by the voxel array.
Calling this method is equivalent to calling the
voxelsWithinExtent: method with the value of the
The number of voxels in the array.
The indexes that define the corners of the three-dimensional voxel grid.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software