Configuration
The type of configuration used by this session
Declaration
struct ConfigurationConstructors
init(frameRate: Int = 0, fuseKeyframesOnly: Bool = false, maximumIntegrationDistance: Float = 0, voxelSize: Float = 0, enableDistanceBasedVolumetricCleanup: Bool = false, numVoxelLevels: Int = 0, meshBlockSize: Float = 0, meshCullingDistance: Float = 0, enableMeshDecimation: Bool = true, filterMeshWithSemantics: Bool = false, enableAllowlist: Bool = false, packedAllowlist: UInt32 = 0, enableBlocklist: Bool = false, packedBlocklist: UInt32 = 0)
Properties
| Name | Type | Summary |
|---|---|---|
| var enableAllowlist | Bool | |
| var enableBlocklist | Bool | If true, packedBlocklist will be used to filter the mesh. Requires filterMeshWithSemantics to be true. |
| var enableDistanceBasedVolumetricCleanup | Bool | If true, the feature will clean up internal data that is far away from the user to improve performance. This will not remove previously-generated mesh. |
| var enableMeshDecimation | Bool | If true, mesh surfaces will be simplified to save compute and memory |
| var filterMeshWithSemantics | Bool | If true, the mesh will be filtered according to the packedAllowlist and/or packedBlocklist. |
| var frameRate | Int | Target frame rate for the meshing feature |
| var fuseKeyframesOnly | Bool | If true, only high-quality frames will be integrated into the mesh, but updates will be less frequent |
| var maximumIntegrationDistance | Float | The maximum distance from the device sensor to incorporate depth data, in meters |
| var meshBlockSize | Float | The size of the mesh blocks, in meters |
| var meshCullingDistance | Float | Mesh culling distance, in meters Setting meshCullingDistance less than maximumIntegrationDistance may lead to unexpected behaviour. |
| var numVoxelLevels | Int | The levels of detail in the voxel grid By default, this is 0. Setting this to a value greater than 1 will allow lower detail levels to be used in areas with less thorough coverage. |
| var packedAllowlist | UInt32 | A bitmask of semantic classes to include in the mesh |
| var packedBlocklist | UInt32 | A bitmask of semantic classes to exclude from the mesh |
| var voxelSize | Float | Voxel size for the meshing engine, in meters |
Requires filterMeshWithSemantics to be true.