docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.XR.ARSubsystems

    Classes

    ConfigurationChooser

    The base class for configuration choosers, which determines which configuration a session will use. Used by DetermineConfiguration(Feature). Use configurationChooser to get or set the session's configuration choosers.

    DefaultConfigurationChooser

    A default implementation of a ConfigurationChooser.

    FeatureExtensions

    Extension methods for Feature flags.

    GuidUtil

    Utility for dealing with Guids.

    MutableRuntimeReferenceImageLibrary

    A reference image library that can be constructed and modified at runtime. By contrast, an XRReferenceImageLibrary can only be constructed at edit-time and is immutable at runtime.

    NativeCopyUtility

    Utilities for copying native arrays.

    PlaneAlignmentExtensions

    Extension methods for the PlaneAlignment enum.

    Promise<T>

    A Promise is used for operations that retrieve data asynchronously. Use this object to determine the status of the operation (i.e., whether it has completed), and the resulting data.

    RuntimeReferenceImageLibrary

    The runtime representation of a XRReferenceImageLibrary. Some libraries are mutable; see MutableRuntimeReferenceImageLibrary.

    SegmentationDepthModeExtension

    Extension for the HumanSegmentationDepthMode.

    SegmentationStencilModeExtension

    Extension for the HumanSegmentationStencilMode.

    SessionAvailabilityExtensions

    Extensions to the SessionAvailability and SessionInstallationStatus enums.

    TrackingSubsystem<TTrackable, TSubsystemDescriptor>

    Base class for subsystems that detect and track things in the physical environment. This type is deprecated. Derive from TrackingSubsystem with more type parameters.

    ValidationUtility<T>

    A utility to validate data from certain types of Subsystems.

    XRAnchorSubsystem

    Base class for a anchor subsystem.

    XRAnchorSubsystem.Provider

    An abstract class to be implemented by providers of this subsystem.

    XRAnchorSubsystemDescriptor

    Describes the capabilities of an XRAnchorSubsystem.

    XRCameraSubsystem

    Provides access to a device's camera.

    XRCameraSubsystem.Provider

    Interface for providing camera functionality for the implementation.

    XRCameraSubsystemDescriptor

    Specifies a functionality description that may be registered for each implementation that provides the XRCameraSubsystem interface.

    XRCpuImage.Api

    An API for interacting with XRCpuImages.

    XRCpuImageAsyncConversionStatusExtensions

    Extension methods for the XRCpuImage.AsyncConversionStatus enum.

    XRCpuImageFormatExtensions

    Extensions to the XRCpuImage.Format enum.

    XRDepthSubsystem

    An abstract class that provides a generic API for low-level depth detection features.

    XRDepthSubsystem.Provider

    The interface that each derived class must implement.

    XRDepthSubsystemDescriptor

    The descriptor of the XRDepthSubsystem that shows which depth detection features are available on that XRSubsystem.

    XREnvironmentProbeSubsystem

    Defines an interface for interacting with environment probe functionality for creating realistic lighting and environment texturing in AR scenes.

    XREnvironmentProbeSubsystem.Provider

    The class for providers to implement to support the XREnvironmentProbeSubsystem.

    XREnvironmentProbeSubsystemDescriptor

    Specifies a functionality description that may be registered for each implementation that provides the XREnvironmentProbeSubsystem interface.

    XRFaceSubsystem

    An abstract class that provides a generic API for low-level face tracking features.

    XRFaceSubsystem.Provider

    Class to be implemented by an implementor of the XRFaceSubsystem.

    XRFaceSubsystemDescriptor

    The descriptor of the XRFaceSubsystem that shows which face tracking features are available on that XRSubsystem.

    XRHumanBodySubsystem

    Defines an interface for interacting with human body functionality.

    XRHumanBodySubsystem.Provider

    The provider which will service the XRHumanBodySubsystem.

    XRHumanBodySubsystemDescriptor

    The descriptor for the XRHumanBodySubsystem.

    XRImageTrackingSubsystem

    A subsystem for detecting and tracking a preconfigured set of images in the environment.

    XRImageTrackingSubsystem.Provider

    Methods to implement by the implementing provider.

    XRImageTrackingSubsystemDescriptor

    Describes the capabilities of an XRImageTrackingSubsystem.

    XRObjectTrackingSubsystem

    Base class for object tracking subsystems.

    XRObjectTrackingSubsystem.Provider

    The API concrete class must implement for an XRObjectTrackingSubsystem.

    XRObjectTrackingSubsystemDescriptor

    Describes features of an XRObjectTrackingSubsystem.

    XROcclusionSubsystem

    Defines an interface for interacting with occlusion functionality.

    XROcclusionSubsystem.Provider

    The provider which will service the XROcclusionSubsystem.

    XROcclusionSubsystemDescriptor

    Descriptor for the XROcclusionSubsystem.

    XRParticipantSubsystem

    Subsystem for managing the participants in a multi-user collaborative session.

    XRParticipantSubsystem.Provider

    The API this subsystem uses to interop with different provider implementations.

    XRParticipantSubsystemDescriptor

    The descriptor of the XRParticipantSubsystem that shows which features are available on that XRSubsystem.

    XRPlaneSubsystem

    Base class for plane subsystems.

    XRPlaneSubsystem.Provider

    The API that derived classes must implement.

    XRPlaneSubsystemDescriptor

    Describes the capabilities of an XRPlaneSubsystem.

    XRRaycastSubsystem

    Base class for a raycast subsystem.

    XRRaycastSubsystem.Provider

    An interface to be implemented by providers of this subsystem.

    XRRaycastSubsystemDescriptor

    Descriptor for the XRRaycastSubsystem. Describes capabilities of a specific raycast provider.

    XRReferenceImageLibrary

    A reference image library is a collection of images to search for in the physical environment when image tracking is enabled.

    XRReferenceObjectEntry

    A provider-specific reference object.

    XRReferenceObjectLibrary

    A container for reference objects. A reference object represents a 3D scan of a real object that can be recognized in the environment. A XRObjectTrackingSubsystem will search for objects based on the contents of a XRReferenceObjectLibrary.

    XRReferencePointSubsystem

    Base class for a reference point subsystem.

    XRReferencePointSubsystem.Provider

    An interface to be implemented by providers of this subsystem.

    XRReferencePointSubsystemDescriptor

    Describes the capabilities of an XRReferencePointSubsystem.

    XRSessionSubsystem

    This subsystem controls the lifecycle of an XR session. Some platforms, particularly those that have non-XR modes, need to be able to turn the session on and off to enter and exit XR mode(s) of operation.

    XRSessionSubsystem.Provider

    The API this subsystem uses to interop with different provider implementations.

    XRSessionSubsystemDescriptor

    Descriptor for the XRSessionSubsystem describing capabilities which may vary by implementation.

    XRSubsystem<TSubsystemDescriptor>

    Serves as the base class for all the subsystems in this package.

    Structs

    BoundedPlane

    The session relative data associated with a plane.

    Configuration

    Represents a session configuration. It consists of a configuration descriptor, which contains information about the capabilities of the configuration, and the specific features which should be enabled by this configuration. Use DetermineConfiguration(Feature) to get a Configuration given a set of features.

    ConfigurationDescriptor

    Information about a configuration supported by a XRSessionSubsystem. Used by a ConfigurationChooser to select a configuration for the session.

    FaceSubsystemParams

    This struct is an initializer for the creation of a XRFaceSubsystemDescriptor.

    MutableRuntimeReferenceImageLibrary.Enumerator

    An enumerator to be used in a foreach statement.

    ScopedProfiler

    An IDisposable profiler object that will begin a profiler sample on instantiation and end the same when disposed.

    Example:

    using (new ScopedProfiler("MySample"))
    {
        CodeToProfile();
    }

    SerializableGuid

    A Guid that can be serialized by Unity. The 128-bit Guid is stored as two 64-bit ulongs. See also the creation utility at UnityEditor.XR.ARSubsystems.SerializableGuidUtil.

    TrackableChanges<T>

    Holds arrays of changes (added, updated, and removed) to trackables. This is typically used by subsystems to report changes each frame.

    TrackableId

    A session-unique identifier for trackables in the real-world environment, e.g., planes and feature points.

    XRAnchor

    Describes session relative data for an anchor.

    XRAnchorSubsystemDescriptor.Cinfo

    Constructor info used to register a descriptor.

    XRCameraConfiguration

    Contains information regarding the camera configuration.

    XRCameraFrame

    Parameters of the Unity Camera that may be necessary/useful to the provider.

    XRCameraIntrinsics

    Camera intrinsics describe physical characteristics of a camera.

    XRCameraParams

    Parameters of the Unity Camera that may be necessary/useful to the provider.

    XRCameraSubsystemCinfo

    Encapsulates the parameters for creating a new XRCameraSubsystemDescriptor.

    XRCpuImage

    Represents a single, raw image from a device camera. Provides access to the raw image plane data, as well as conversion methods to convert to color and grayscale formats. See Convert(XRCpuImage.ConversionParams, IntPtr, Int32) and ConvertAsync(XRCpuImage.ConversionParams). Use TryAcquireLatestCpuImage(out XRCpuImage) to get a XRCpuImage.

    XRCpuImage.AsyncConversion

    Holds information related to an asynchronous camera image conversion request. Returned by ConvertAsync(XRCpuImage.ConversionParams).

    XRCpuImage.Cinfo

    Container for native camera image construction metadata.

    XRCpuImage.ConversionParams

    Describes a set of conversion parameters for use with XRCpuImage's conversion methods.

    XRCpuImage.Plane

    Information about the camera image planes. An image "plane" refers to an image channel used in video encoding.

    XRCpuImage.Plane.Cinfo

    Container for the metadata describing access to the raw camera image plane data.

    XRDepthSubsystemDescriptor.Cinfo

    This struct is an initializer for the creation of a XRDepthSubsystemDescriptor.

    XREnvironmentProbe

    Encapsulates all of the data provided for an individual environment probe in an AR session.

    XREnvironmentProbeSubsystemCinfo

    Encapsulates the parameters for creating a new XREnvironmentProbeSubsystemDescriptor.

    XRFace

    A struct describing face data that is stored in the XRFaceSubsystem

    XRFaceMesh

    Container for mesh data associated with an XRFace. Not all implementations support all data. Check for existence with NativeArray's IsCreated property.

    XRHumanBody

    Container for the data representing a trackable human body.

    XRHumanBodyJoint

    Containter for the human body joint data.

    XRHumanBodyPose2DJoint

    Container for a human body pose 2D joint as part of a AR detected screen space skeleton.

    XRHumanBodySubsystemCinfo

    Constructor info for the XRHumanBodySubsystemDescriptor.

    XRImageTrackingSubsystemDescriptor.Cinfo

    Construction information for the XRImageTrackingSubsystemDescriptor.

    XRObjectTrackingSubsystemDescriptor.Capabilities

    Describes the capabilities of an XRObjectTrackingSubsystem implementation.

    XROcclusionSubsystemCinfo

    Constructor parameters for the XROcclusionSubsystemDescriptor.

    XRParticipant

    The session-relative data associated with a participant.

    XRPlaneSubsystemDescriptor.Cinfo

    Constructor info used to register a descriptor.

    XRPointCloud

    Represents the session relative data for the XRDepthSubsystem. XRPointClouds are usually created by GetChanges(Allocator).

    XRPointCloudData

    Represents the data (arrays of positions, confidence values, and identifiers) associated with a point cloud.

    XRRaycast

    Represents the intersection of a raycast with a trackable.

    XRRaycastHit

    Represents the intersection of a raycast with a trackable.

    XRRaycastSubsystemDescriptor.Cinfo

    Used to register a descriptor. See RegisterDescriptor(XRRaycastSubsystemDescriptor.Cinfo).

    XRReferenceImage

    Represents an entry in an XRReferenceImageLibrary.

    XRReferenceObject

    Represents a 3D scan of a real object that can be recognized in the environment.

    XRReferencePoint

    Describes session relative data for a reference point.

    XRReferencePointSubsystemDescriptor.Cinfo

    Constructor info used to register a descriptor.

    XRSessionSubsystemDescriptor.Cinfo

    Used in conjunction with RegisterDescriptor(XRSessionSubsystemDescriptor.Cinfo) to register a provider. This should only be used by subsystem implementors.

    XRSessionUpdateParams

    Update parameters for Update(XRSessionUpdateParams).

    XRTextureDescriptor

    Encapsulates a native texture object and includes various metadata about the texture.

    XRTrackedImage

    Contains low-level data for a tracked image in the environment.

    XRTrackedObject

    Describes a tracked object detected by the XRObjectTrackingSubsystem.

    Interfaces

    IReferenceImageLibrary

    An interface for a reference image library. This is a set of reference images to search for in the physical environment.

    ITrackable

    Defines an interface for the structs associated with tracking subsystems.

    Enums

    CameraFocusMode

    Represents the focus mode of the camera. This is deprecated.

    FaceSubsystemCapabilities

    Capabilities of a face subsystem implementation.

    Feature

    A set of flags representing features available in AR.

    HumanSegmentationDepthMode

    Represents the segmentation depth mode.

    HumanSegmentationStencilMode

    Represents the segmentation stencil mode.

    LightEstimationMode

    Represents the light estimation mode. This is deprecated.

    NotTrackingReason

    Represents the reason tracking was lost.

    PlaneAlignment

    Represents the alignment of a plane, e.g., whether it is horizontal or vertical.

    PlaneClassification

    Represents the alignment of a plane, e.g., whether it is horizontal or vertical.

    PlaneDetectionMode

    Used to configure the types of planes to detect.

    SessionAvailability

    Flags used to determine session availability.

    SessionInstallationStatus

    An enum used to determine that current status of the software install.

    TrackableType

    Flags representing trackable types in XR. A "trackable" is feature in the physical environment that a device is able to track, such as a surface. Often used in conjunction with XRRaycastHit.

    TrackingState

    Represents pose tracking quality. May apply to a device or trackables it is tracking in the environment.

    XRCameraFrameProperties

    Represents the properties included in the camera frame.

    XRCpuImage.AsyncConversionStatus

    Represents the status of an asynchronous camera image request.

    XRCpuImage.Format

    Formats used by the raw XRCpuImage data. See format.

    XRCpuImage.Transformation

    Describes transformations that may be applied to a camera image.

    XRDepthSubsystemDescriptor.Capabilities

    Describes the capabilities of an XRDepthSubsystem.

    XRFaceMesh.Attributes

    Attributes associated with the face mesh, such as normals and texture coordinates. Vertex positions and triangle indices are assumed to exist already. These are optional attributes. Used with Resize(Int32, Int32, XRFaceMesh.Attributes, Allocator).

    XRParticipantSubsystemDescriptor.Capabilities

    The capabilities of a particular XRParticipantSubsystem. This is typically used to query a subsystem for capabilities that may vary by platform or implementation.

    Delegates

    XRCpuImage.Api.OnImageRequestCompleteDelegate

    Callback from native code for when the asynchronous conversion is complete.

    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