OptionalcollisionWhether to generate a collision mesh (.collision.glb) alongside the voxel data. Default: false
OptionalcreateOptional function to create a GPU device for voxelization
Gaussian splat data to voxelize
Output filename ending in .voxel.json
OptionalmeshMaximum geometric error for collision mesh simplification as a fraction of voxelResolution. Default: 0.08
OptionalnavCapsule dimensions for navigation simplification. Height of 0 disables interior carve. When height > 0, only voxels contactable from the seed are kept.
OptionalnavExterior fill radius in world units. Set to 0 to disable exterior fill. Defaults to 1.6 when nav simplification is active. Requires navSeed to be set; ignored without it.
OptionalnavSeed position in world space for navigation flood fill. Required when navCapsule is set with height > 0.
OptionalopacityOpacity threshold for solid voxels - voxels below this are considered empty. Default: 0.5
OptionalvoxelSize of each voxel in world units. Default: 0.05
Options for writing a voxel octree file.