docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.XR.ARSubsystems

    Classes

    GuidUtil

    Utility for dealing with Guids.

    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.

    SessionAvailabilityExtensions

    Extensions to the SessionAvailability and SessionInstallationStatus enums.

    TrackingSubsystem<TTrackable, TSubsystemDescriptor>

    Base class for subsystems that detect and track things in the physical environment.

    ValidationUtility<T>

    A utility to validate data from certain types of Subsystems.

    XRAsyncCameraImageConversionStatusExtensions

    Extension methods for the AsyncCameraImageConversionStatus enum.

    XRCameraSubsystem

    Provides access to a device's camera.

    XRCameraSubsystem.IProvider

    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.

    XRDepthSubsystem

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

    XRDepthSubsystem.IDepthApi

    The interface that each derived class must implement.

    XRDepthSubsystemDescriptor

    XREnvironmentProbeSubsystem

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

    XREnvironmentProbeSubsystem.IProvider

    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.IProvider

    Class to be implemented by an implementor of the XRFaceSubsystem.

    XRFaceSubsystemDescriptor

    XRImageTrackingSubsystem

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

    XRImageTrackingSubsystem.IProvider

    Methods to implement by the implementing provider.

    XRImageTrackingSubsystemDescriptor

    Describes the capabilities of an XRImageTrackingSubsystem.

    XRPlaneSubsystem

    Base class for plane subsystems.

    XRPlaneSubsystem.IProvider

    The API that derived classes must implement.

    XRPlaneSubsystemDescriptor

    Describes the capabilities of an XRPlaneSubsystem.

    XRRaycastSubsystem

    Base class for a raycast subsystem.

    XRRaycastSubsystem.IProvider

    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.

    XRReferencePointSubsystem

    Base class for a reference point subsystem.

    XRReferencePointSubsystem.IProvider

    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.IProvider

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

    XRSessionSubsystemDescriptor

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

    Structs

    BoundedPlane

    The session relative data associated with a plane.

    FaceSubsystemParams

    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.

    XRAsyncCameraImageConversion

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

    XRCameraConfiguration

    Contains information regarding the camera configuration. Different devices support different camera configurations. This includes the resolution of the image and may include framerate on some platforms.

    XRCameraFrame

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

    XRCameraFrameReceivedArgs

    Encapsulates all information provided in an event callback for when the camera frame is received.

    XRCameraImage

    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(XRCameraImageConversionParams, IntPtr, Int32) and ConvertAsync(XRCameraImageConversionParams). Use TryGetLatestImage(out XRCameraImage) to get a XRCameraImage.

    XRCameraImageConversionParams

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

    XRCameraImagePlane

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

    XRCameraIntrinsics

    Camera intrinsics describe physical characteristics of a camera.

    XRCameraParams

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

    XRCameraSubsystem.CameraImageCinfo

    Container for native camera image construction metadata.

    XRCameraSubsystem.CameraImagePlaneCinfo

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

    XRCameraSubsystemCinfo

    Encapsulates the parameters for creating a new XRCameraSubsystemDescriptor.

    XRDepthSubsystemDescriptor.Cinfo

    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.

    XRImageTrackingSubsystemDescriptor.Cinfo

    Construction information for the XRImageTrackingSubsystemDescriptor.

    XRPlaneSubsystemDescriptor.Cinfo

    Constructor info used to register a descriptor.

    XRPointCloud

    Represents the session relative data for the XRDepthSubsystem. XRPointClouds are usually created by .

    XRPointCloudData

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

    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.

    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.

    Interfaces

    ITrackable

    Defines an interface for the structs associated with tracking subsystems.

    Enums

    AsyncCameraImageConversionStatus

    Represents the status of an asynchronous camera image request.

    CameraFocusMode

    Represents the focus mode of the camera.

    CameraImageFormat

    Formats used by the raw XRCameraImage data. See format.

    CameraImageTransformation

    Describes transformations that may be applied to a camera image.

    FaceSubsystemCapabilities

    Capabilities of a face subsystem implementation.

    LightEstimationMode

    Represents the light estimation mode.

    NotTrackingReason

    Represents the reason tracking was lost.

    PlaneAlignment

    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.

    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).

    Delegates

    XRCameraSubsystem.OnImageRequestCompleteDelegate

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

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, January 7, 2022
    Terms of use