Extends the voxel array to also cover the volume of the specified voxel array.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
The voxel array to combine with this voxel array.
After a union operation, the voxel array contains voxels that were present either in the original array or in the specified array. That is, a union operation creates a voxel array that combines two volumes.
Performing a union, intersection, or difference operation clears out shell level information from all voxels in the array. (That is, the w component of every
MDLVoxel value in the voxel array is reset to 0.)