MLXrPlaneSubsystem
NameSpace: Subsystems
The Magic Leap implementation of the XRPlaneSubsystem . Do not create this directly. Use PlanesSubsystemDescriptor.Create() instead.
Inherits from:
XRPlaneSubsystem
Public Fields
Query
public static PlanesQuery Query { get; set; }
Public Methods
void RegisterDescriptor
public static void RegisterDescriptor()
Public Enums
MLPlanesQueryFlags
Enumerator | Value | Description |
---|---|---|
None | 0 | Include no planes. |
Vertical | 1 << 0 | Include planes whose normal is perpendicular to gravity. |
Horizontal | 1 << 1 | Include planes whose normal is parallel to gravity. |
Arbitrary | 1 << 2 | Include planes with arbitrary normals. |
AllOrientations | Vertical | Horizontal |
SemanticCeiling | 1 << 6 | Include planes semantically tagged as ceiling. |
SemanticFloor | 1 << 7 | Include planes semantically tagged as floor. |
SemanticWall | 1 << 8 | Include planes semantically tagged as wall. |
SemanticPlatform | 1 << 9 | Include planes semantically tagged as platforms |
SemanticAll | SemanticCeiling | SemanticFloor |