Namespace UnityEngine.XR.ARFoundation
Classes
ARBackgroundRendererAsset
An asset used with the ARFoundationBackgroundRenderer. Useful for working with the Lightweight Render Pipeline (LWRP).
ARCameraBackground
Add this component to a Camera to copy the color camera's texture onto the background.
ARCameraManager
Manages the lifetime of the XRCameraSubsystem. Add one of these to a Camera in your scene
if you want camera texture and light estimation information to be available.
ARFoundationBackgroundRenderer
Uses command buffers to blit an image to a camera's background.
ARInputManager
Manages the lifetime of the XRInputSubsystem. Add one of these to any GameObject in your scene
if you want device pose information to be available. Read the input by using the TrackedPoseDriver
ARPlane
Represents a plane (i.e., a flat surface) detected by an AR device.
ARPlaneManager
A manager for ARPlanes. Creates, updates, and removes
GameObjects in response to detected surfaces in the physical
environment.
ARPlaneMeshGenerators
Generator functions for ARPlane mesh geometery.
ARPlaneMeshVisualizer
Generates a mesh for an ARPlane.
ARPointCloud
Represents a detected point cloud, aka feature points.
ARPointCloudManager
A manager for XRDepthSubsystem
to recognize and track depth data in the physical environment.
ARPointCloudMeshVisualizer
Renders an ARPointCloud as a Mesh with MeshTopology.Points.
ARPointCloudParticleVisualizer
Renders an ARPointCloud as a ParticleSystem.
ARRaycastManager
Manages an XRRaycastSubsystem, exposing raycast functionality in ARFoundation. Use this component
to raycast against trackables (i.e., detected features in the physical environment) when they do not have
a presence in the Physics world.
ARReferencePoint
Represents a Reference Point tracked by an XR device.
ARReferencePointManager
ARSession
Controls the lifecycle and configuration options for an AR session. There is only one active session. If you have multiple ARSession components, they all talk to the same session and will conflict with each other.
Enabling or disabling the ARSession will start or stop the session, respectively.
ARSessionOrigin
An ARSessionOrigin is the parent for an AR setup. It contains a Camera and
any GameObjects created from detected features, such as planes or point clouds.
ARTrackable<TSessionRelativeData, TTrackable>
A generic component for trackables. A "trackable" is a feature in the physical environment that can be detected and tracked by an XR device.
ARTrackableManager<TSubsystem, TSubsystemDescriptor, TSessionRelativeData, TTrackable>
A generic manager for components generated by features detected in the physical environment.
ARUpdateOrder
The update order for MonoBehaviours in ARFoundation.
PlaneDetectionModeMaskAttribute
An attribute that can be placed on MonoBehaviour fields to
generate the correct UI for the
PoseExtensions
Several method extensions to Pose for inverse-transforming additional Unity types.
PoseExtensionsTestFixture
SubsystemLifecycleManager<TSubsystem, TSubsystemDescriptor>
A base class for subsystems whose lifetime is managed by a MonoBehaviour.
TransformExtensions
Several method extensions to Transform for transforming and inverse-transforming additional Unity types.
Structs
ARCameraFrameEventArgs
A structure for camera-related information pertaining to a particular frame.
This is used to communicate information in the
ARFoundationBackgroundRendererChangedEventArgs
The arguments for the backgroundRendererChanged event. This is currently empty, but may change in the future without the need to change the subscribers' method signatures.
ARLightEstimationData
A structure for light estimation information provided by the AR device.
ARPlaneBoundaryChangedEventArgs
Data associated with an boundaryChanged event.
ARPlanesChangedEventArgs
Event arguments for the
ARPointCloudChangedEventArgs
Event arguments for the
ARPointCloudUpdatedEventArgs
The arguments for the updated event. This is currently empty, but may change in the future without the need to change the subscribers' method signatures.
ARRaycastHit
Represents the result of a raycast intersection with a trackable.
ARReferencePointsChangedEventArgs
Event arguments for the referencePointsChanged event.
ARSessionStateChangedEventArgs
Container for SystemState event arguments. Used by the
TrackableCollection<TTrackable>
A collection for ARTrackable<TSessionRelativeData, TTrackable>s.
This collection implements an IEnumerable-like interface which can be used
in a foreach statement.
TrackableCollection<TTrackable>.Enumerator
An Enumerator for TTrackables.
Enums
ARRenderMode
AR rendering modes used with ARFoundationBackgroundRenderer.
ARSessionState
Represents the current state of the AR system.