Class ARSubsystemUtil | Package Manager UI website
docs.unity.cn
    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 © 2015-2018 Unity
    Generated by DocFX