Class XRReferencePointSubsystem
Base class for a reference point subsystem.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
[Obsolete("XRReferencePointSubsystem has been deprecated. Use XRAnchorSubsystem instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRAnchorSubsystem", false)]
public class XRReferencePointSubsystem : TrackingSubsystem<XRReferencePoint, XRReferencePointSubsystem, XRReferencePointSubsystemDescriptor, XRReferencePointSubsystem.Provider>, ISubsystem
Remarks
A reference point is a pose in the physical environment that is tracked by an XR device. As the device refines its understanding of the environment, reference points will be updated, allowing you to keep virtual content connected to a real-world position and orientation.
This abstract class should be implemented by an XR provider and instantiated using the SubsystemManager
to enumerate the available XRReferencePointSubsystemDescriptors.
Methods
Name | Description |
---|---|
GetChanges(Allocator) | Get the changes to reference points (added, updated, and removed) since the last call to GetChanges(Allocator). |
TryAddReferencePoint(Pose, out XRReferencePoint) | Attempts to create a new reference point with the provide |
TryAttachReferencePoint(TrackableId, Pose, out XRReferencePoint) | Attempts to create a new reference attached to the trackable with id |
TryRemoveReferencePoint(TrackableId) | Attempts to remove an existing reference point with TrackableId |