Class MetaOpenXRPlaneSubsystem
The Meta-OpenXR implementation of XRPlaneSubsystem, built with the OpenXR Meta Mobile SDK. Planes are provided based on bounded2d components present in your Scene Model.
Inheritance
TrackingSubsystem<BoundedPlane, XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>
MetaOpenXRPlaneSubsystem
Implements
Inherited Members
SubsystemWithProvider<XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>.subsystemDescriptor
Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: Unity.XR.MetaOpenXR.dll
Syntax
[Preserve]
public sealed class MetaOpenXRPlaneSubsystem : XRPlaneSubsystem, ISubsystem
Properties
planeAlignmentThreshold
Plane alignment is determined by calculating the offset of the normal vector components from 0. For horizontal planes, the x and z vector components are each checked to be within the threshold and the y vector component is used for vertical planes.
Declaration
public static float planeAlignmentThreshold { get; set; }
Property Value
Type | Description |
---|---|
float | The threshold value in meters. |