Contents

MDLVoxelArray

A model of a 3D object’s solid volume as a collection of voxels, or cubic units.

Declaration

class MDLVoxelArray

Overview

Unlike a mesh, which models only surface topology, a voxel array models the solid volume of a 3D object. Voxels are useful for modeling volumetric phenomena (such as clouds and fire), performing solid geometry operations (such as intersection and union), and preparing a 3D design for real-world physical production.

Topics

Creating a Voxel Array

Examining Voxels

Modifying Voxels

Performing Constructive Solid Geometry Operations

Relating Voxels to Scene Space

Creating a Mesh from Voxels

Constants

Initializers

Instance Properties

Instance Methods