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
OptionalmeshRatio of triangles to keep when simplifying the collision mesh (0-1). Default: 0.25
OptionalnavCapsule dimensions for navigation simplification. When set, only voxels contactable from the seed are kept.
OptionalnavSeed position in world space for navigation flood fill. Required when navCapsule is set.
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.