Skip to main content
Version: 21 Aug 2024

Meshing

NameSpace: Features

Classes

TypeName
classMagicLeapMeshingFeature
Enables the Magic Leap OpenXR Loader for Android, and modifies the AndroidManifest to be compatible with ML2.
structMeshingQuerySettings
The mesh generation settings

Enums

Name
enumMeshDetectorFlags
{
ComputeNormals = 1 << 1, ComputeConfidence = 1 << 2, Planarize = 1 << 3, MeshSkirt = 1 << 4
}

The flags to represent the generated mesh's properties
enumMeshingMode
{
Triangles, PointCloud
}

Enums Documentation

MeshDetectorFlags

The flags to represent the generated mesh's properties

EnumeratorValueDescription
ComputeNormals1 << 1Whether to compute the normals of the mesh
ComputeConfidence1 << 2Whether to compute the confidence data for the mesh
Planarize1 << 3Whether to planarize the generated mesh
MeshSkirt1 << 4When enabled, the mesh skirt (overlapping area between two mesh blocks) will be removed. This field is only valid when the mesh is not a point cloud.

MeshingMode

EnumeratorValueDescription
Triangles
PointCloud