Class ARSubsystemUtil | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ARSubsystemUtil

    A collection of utilities for working with the AR-related Subsystems.

    Inheritance
    System.Object
    ARSubsystemUtil
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public static class ARSubsystemUtil
    Remarks

    You would not normally use this directly. The ARSubsystemManager manages the individual subsystems.

    Methods

    CreateCameraSubsystem(String)

    Creates a XRCameraSubsystem.

    Declaration
    public static XRCameraSubsystem CreateCameraSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRCameraSubsystem

    A XRCameraSubsystem if successful, null otherwise.

    CreateDepthSubsystem(String)

    Creates a XRDepthSubsystem.

    Declaration
    public static XRDepthSubsystem CreateDepthSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRDepthSubsystem

    A XRDepthSubsystem if successful, null otherwise.

    CreateFaceSubsystem(String)

    Creates a XRFaceSubsystem.

    Declaration
    public static XRFaceSubsystem CreateFaceSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRFaceSubsystem

    A XRFaceSubsystem if successful, null otherwise.

    CreateInputSubsystem(String)

    Creates a XRInputSubsystem.

    Declaration
    public static XRInputSubsystem CreateInputSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRInputSubsystem

    A XRInputSubsystem if successful, null otherwise.

    CreatePlaneSubsystem(String)

    Creates a XRPlaneSubsystem.

    Declaration
    public static XRPlaneSubsystem CreatePlaneSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRPlaneSubsystem

    A XRPlaneSubsystem if successful, null otherwise.

    CreateRaycastSubsystem(String)

    Creates a XRRaycastSubsystem.

    Declaration
    public static XRRaycastSubsystem CreateRaycastSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRRaycastSubsystem

    A XRRaycastSubsystem if successful, null otherwise.

    CreateReferencePointSubsystem(String)

    Creates a XRReferencePointSubsystem.

    Declaration
    public static XRReferencePointSubsystem CreateReferencePointSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRReferencePointSubsystem

    A XRReferencePointSubsystem if successful, null otherwise.

    CreateSessionSubsystem(String)

    Creates a XRSessionSubsystem.

    Declaration
    public static XRSessionSubsystem CreateSessionSubsystem(string id = null)
    Parameters
    Type Name Description
    System.String id

    (Optional) The name of the subsystem to create.

    Returns
    Type Description
    XRSessionSubsystem

    A XRSessionSubsystem if successful, null otherwise.

    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