Class XRAnchorSubsystem.Provider
An abstract class to be implemented by providers of this subsystem.
Inherited Members
SubsystemProvider<XRAnchorSubsystem>.TryInitialize()
SubsystemProvider<XRAnchorSubsystem>.Start()
SubsystemProvider<XRAnchorSubsystem>.Stop()
SubsystemProvider<XRAnchorSubsystem>.Destroy()
SubsystemProvider.running
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public abstract class XRAnchorSubsystem.Provider : SubsystemProvider<XRAnchorSubsystem>
Methods
Name | Description |
---|---|
GetChanges(XRAnchor, Allocator) | Invoked to get the changes to anchors (added, updated, and removed) since the last call to GetChanges(XRAnchor, Allocator). |
TryAddAnchor(Pose, out XRAnchor) | Should create a new anchor with the provided |
TryAttachAnchor(TrackableId, Pose, out XRAnchor) | Should create a new anchor "attached" to the trackable with id |
TryRemoveAnchor(TrackableId) | Should remove an existing anchor with TrackableId |