docs.unity3d.com
    Show / Hide Table of Contents

    Class MetaOpenXRPlaneSubsystem

    The Meta-OpenXR implementation of XRPlaneSubsystem, built with the Meta OpenXR Mobile SDK. Planes are provided based on bounded2d components present in your Scene Model.

    Inheritance
    Object
    TrackingSubsystem<BoundedPlane, XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>
    XRPlaneSubsystem
    MetaOpenXRPlaneSubsystem
    Inherited Members
    XRPlaneSubsystem.GetChanges(Allocator)
    XRPlaneSubsystem.GetBoundary(TrackableId, Allocator, NativeArray<Vector2>)
    XRPlaneSubsystem.CreateOrResizeNativeArrayIfNecessary<T>(Int32, Allocator, NativeArray<T>)
    XRPlaneSubsystem.requestedPlaneDetectionMode
    XRPlaneSubsystem.currentPlaneDetectionMode
    TrackingSubsystem<BoundedPlane, XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>.GetChanges(Allocator)
    Namespace: UnityEngine.XR.OpenXR.Features.Meta
    Syntax
    [Preserve]
    public sealed class MetaOpenXRPlaneSubsystem : XRPlaneSubsystem

    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
    Single

    The threshold value in meters.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023