Namespace UnityEngine.XR.ARSubsystems
Classes
ARRenderingUtils
A utilities class for containing universally useful Rendering operations and information for rendering AR.
AddReferenceImageJobStatusExtensions
Extensions to the Addenum
.
ConfigurationChooser
The base class for configuration choosers, which determines
which configuration a session will use. Used by
Determine
DefaultConfigurationChooser
A default implementation of a Configuration
EnvironmentDepthModeExtension
Extension for the Environment
FeatureExtensions
Extension methods for Feature flags.
GuidUtil
Utility for dealing with Guid
s.
HandheldARInputDevice
A Handheld AR device layout that represents a mobile AR device, for use with the Input System package.
MutableRuntimeReferenceImageLibrary
A reference image library that can be constructed and modified at runtime.
NativeCopyUtility
Utilities for copying native arrays.
PlaneAlignmentExtensions
Extension methods for the Plane
Promise<T>
A Promise is used for operations that retrieve data asynchronously. Use this object to determine the status of the operation (that is, whether it has completed), and the resulting data.
RuntimeReferenceImageLibrary
The runtime representation of a XRReference
SegmentationDepthModeExtension
Extension for the Human
SegmentationStencilModeExtension
Extension for the Human
SessionAvailabilityExtensions
Extensions to the Session
TrackingSubsystem<TTrackable, TSubsystem, TSubsystemDescriptor, TProvider>
Base class for subsystems that detect and track things in the physical environment.
ValidationUtility<T>
A utility to validate data from certain types of Subsystem
s.
XRAnchorSubsystem
This subsystem provides information regarding anchors. An anchor is a pose (position and rotation) in the physical environment that is tracked by an XR device. Anchors are updated as the device refines its understanding of the environment, allowing you to reliably place virtual content at a real-world pose.
XRAnchorSubsystem.Provider
An abstract class to be implemented by providers of this subsystem.
XRAnchorSubsystemDescriptor
Indicates the capabilities supported by a provider of the XRAnchor
XRCameraSubsystem
Provides access to a device's camera.
XRCameraSubsystem.Provider
Interface for providing camera functionality for the implementation.
XRCameraSubsystemDescriptor
Specifies the functionalities supported by a provider of the XRCameraXRCameraSubsystem.Provider
and may override virtual class members.
XRCpuImage.Api
An API for interacting with XRCpu
XRCpuImageAsyncConversionStatusExtensions
Extension methods for the XRCpu
XRCpuImageFormatExtensions
Extensions to convert between Unity
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 XRDepth
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 XREnvironment
XREnvironmentProbeSubsystemDescriptor
Specifies a functionality description that can be registered for each implementation that provides the
XREnvironment
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 XRFace
XRFaceSubsystemDescriptor
The descriptor of the XRFace
XRHumanBodySubsystem
Defines an interface for interacting with human body functionality.
XRHumanBodySubsystem.Provider
The provider which will service the XRHuman
XRHumanBodySubsystemDescriptor
The descriptor for the XRHuman
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 XRImage
XRObjectTrackingSubsystem
Base class for object tracking subsystems.
XRObjectTrackingSubsystem.Provider
For AR implementors: implement this class to provide support for object tracking.
XRObjectTrackingSubsystemDescriptor
Describes features of an XRObject
XROcclusionSubsystem
Defines an interface for interacting with occlusion functionality.
XROcclusionSubsystem.Provider
The provider which will service the XROcclusion
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 interact with different provider implementations.
XRParticipantSubsystemDescriptor
The descriptor of the XRParticipant
XRPlaneSubsystem
This subsystem provides information regarding the detection of planes (that is, flat surfaces) in the real-world environment.
XRPlaneSubsystem.Provider
The provider API for XRPlane
XRPlaneSubsystemDescriptor
Indicates the capabilities supported by a provider of the XRPlane
XRPointCloudSubsystem
An abstract class that provides a generic API for low-level point cloud detection features.
XRPointCloudSubsystem.Provider
The interface that each derived class must implement.
XRPointCloudSubsystemDescriptor
The descriptor of the XRPoint
XRRaycastSubsystem
Base class for a raycast subsystem.
XRRaycastSubsystem.Provider
An interface to be implemented by providers of this subsystem.
XRRaycastSubsystemDescriptor
Descriptor for the XRRaycast
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 XRObject
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 modes of operation.
XRSessionSubsystem.Provider
The API this subsystem uses to interop with different provider implementations.
XRSessionSubsystemDescriptor
Descriptor for the XRSession
XRSubsystem<TSubsystemDescriptor>
Serves as the base class for all the subsystems in this package.
Structs
AddReferenceImageJobState
Represents the state of an asynchronous "add image job" scheduled by
Schedule
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 Determine
ConfigurationDescriptor
Information about a configuration supported by a XRSession
FaceSubsystemParams
This struct is an initializer for the creation of a XRFace
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.
SerializableGuid
A Guid
that can be serialized by Unity. The 128-bit Guid
is stored as two 64-bit ulong
s. See also the creation utility at
UnityEditor.XR.ARSubsystems.SerializableGuidUtil
.
TrackableChanges<T>
Holds arrays of changes to trackables (added, updated, and removed). This is typically used by subsystems to report changes each frame.
TrackableId
A session-unique identifier for trackables in the real-world environment, such as planes and feature points.
XRAnchor
Describes session-relative data for an anchor.
XRAnchorSubsystemDescriptor.Cinfo
Contains the parameters necessary to construct a new XRAnchor
XRCameraConfiguration
Contains information about camera configuration.
XRCameraFrame
Represents a frame captured by the device camera with included metadata.
XRCameraFrameExifData
Represents EXIF data from the frame captured by the device camera.
XRCameraIntrinsics
Camera intrinsics describe physical characteristics of a camera.
XRCameraParams
Parameters of the Unity Camera
that might be necessary or useful to the provider.
XRCameraSubsystemCinfo
Contains the parameters for creating a new XRCamera
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(Conversion
XRCpuImage.AsyncConversion
Holds information related to an asynchronous camera image conversion request. Returned by
Convert
XRCpuImage.Cinfo
Container for native camera image construction metadata.
XRCpuImage.ConversionParams
Describes a set of conversion parameters for use with XRCpu
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 that describes access to the raw camera image plane data.
XRDepthSubsystemDescriptor.Cinfo
This struct is an initializer for the creation of a XRDepth
XREnvironmentProbe
Contains all of the data provided for an individual environment probe in an AR session.
XREnvironmentProbeSubsystemCinfo
Contains the parameters for creating a new XREnvironment
XRFace
A struct that describes face data stored in the XRFace
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 that represents 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 XRHuman
XRImageTrackingSubsystemDescriptor.Cinfo
Construction information for the XRImage
XRObjectTrackingSubsystemDescriptor.Capabilities
Describes the capabilities of an XRObject
XROcclusionSubsystemCinfo
Constructor parameters for the XROcclusion
XRParticipant
The session-relative data associated with a participant.
XRPlaneSubsystemDescriptor.Cinfo
Contains the parameters necessary to construct a new XRPlane
XRPointCloud
Represents the session relative data for the XRPoint
XRPointCloudData
Represents the data (arrays of positions, confidence values, and identifiers) associated with a point cloud.
XRPointCloudSubsystemDescriptor.Cinfo
This struct is an initializer for the creation of a XRPoint
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 Register
XRReferenceImage
Represents an entry in an XRReference
XRReferenceObject
Represents a 3D scan of a real object that can be recognized in the environment.
XRSessionSubsystemDescriptor.Cinfo
Used in conjunction with Register
XRSessionUpdateParams
Update parameters for Update(XRSession
XRTextureDescriptor
Contains 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 XRObject
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 struct
s associated with tracking subsystems.
Enums
AddReferenceImageJobStatus
Represents the status of an Add
CameraFocusMode
Represents the focus mode of the camera. This is deprecated.
EnvironmentDepthMode
Represents the environment mode.
FaceSubsystemCapabilities
Capabilities of a face subsystem implementation.
Feature
A set of flags that represent features available in AR.
HumanSegmentationDepthMode
Represents the segmentation depth mode.
HumanSegmentationStencilMode
Represents the segmentation stencil mode.
LightEstimationMode
Represents the light estimation mode.
NotTrackingReason
Represents the reason tracking was lost.
OcclusionPreferenceMode
Represents the preference for how to occlude.
PlaneAlignment
Represents the alignment of a plane (for example, whether it is horizontal or vertical).
PlaneClassification
Represents the alignment of a plane (for example, 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 the current status of the software install.
Supported
Used to indicate whether a feature or capability is supported.
TrackableType
Flags that represent 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 XRRaycast
TrackingState
Represents pose tracking quality. Can apply to a device or trackables it is tracking in the environment.
XRCameraBackgroundRenderingMode
Defines the rendering modes for the Camera Background.
XRCameraFrameExifDataColorSpace
The color space, as defined by the EXIF specification.
XRCameraFrameExifDataMeteringMode
The metering mode, as defined by the EXIF specification.
XRCameraFrameExifDataProperties
Represents the properties included in a camera frame's EXIF data.
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 XRCpu
XRCpuImage.Transformation
Describes transformations that can be applied to a camera image.
XRDepthSubsystemDescriptor.Capabilities
Describes the capabilities of an XRDepth
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(int, int, Attributes, Allocator).
XRParticipantSubsystemDescriptor.Capabilities
The capabilities of a particular XRParticipant
XRPointCloudSubsystemDescriptor.Capabilities
Describes the capabilities of an XRPoint
XRSupportedCameraBackgroundRenderingMode
Defines the supported rendering modes for the Camera Background.
Delegates
XRCpuImage.Api.OnImageRequestCompleteDelegate
Callback from native code for when the asynchronous conversion is complete.