docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MetaOpenXRPlaneSubsystem

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

    Inheritance
    object
    SubsystemWithProvider
    SubsystemWithProvider<XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>
    TrackingSubsystem<BoundedPlane, XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>
    XRPlaneSubsystem
    MetaOpenXRPlaneSubsystem
    Implements
    ISubsystem
    Inherited Members
    XRPlaneSubsystem.requestedPlaneDetectionMode
    XRPlaneSubsystem.currentPlaneDetectionMode
    XRPlaneSubsystem.GetChanges(Allocator)
    XRPlaneSubsystem.GetBoundary(TrackableId, Allocator, ref NativeArray<Vector2>)
    TrackingSubsystem<BoundedPlane, XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>.GetChanges(Allocator)
    SubsystemWithProvider<XRPlaneSubsystem, XRPlaneSubsystemDescriptor, XRPlaneSubsystem.Provider>.subsystemDescriptor
    SubsystemWithProvider.Start()
    SubsystemWithProvider.Stop()
    SubsystemWithProvider.Destroy()
    SubsystemWithProvider.running
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Implements

    ISubsystem
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)