Class MagicLeapAnchorSubsystem.AnchorProvider
Inheritance
SubsystemProvider
SubsystemProvider<XRAnchorSubsystem>
XRAnchorSubsystem.Provider
MagicLeapAnchorSubsystem.AnchorProvider
Inherited Members
XRAnchorSubsystem.Provider.TryAttachAnchor(TrackableId, Pose, out XRAnchor)
SubsystemProvider<XRAnchorSubsystem>.TryInitialize()
SubsystemProvider.running
Namespace: UnityEngine.XR.MagicLeap
Assembly: UnityEngine.XR.MagicLeap.dll
Syntax
public class MagicLeapAnchorSubsystem.AnchorProvider : XRAnchorSubsystem.Provider
Constructors
AnchorProvider()
Declaration
public AnchorProvider()
Methods
Destroy()
Declaration
public override void Destroy()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRAnchorSubsystem>.Destroy()
GetChanges(XRAnchor, Allocator)
Declaration
public override TrackableChanges<XRAnchor> GetChanges(XRAnchor defaultAnchor, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor | defaultAnchor | |
Allocator | allocator |
Returns
Type | Description |
---|---|
TrackableChanges<XRAnchor> |
Overrides
UnityEngine.XR.ARSubsystems.XRAnchorSubsystem.Provider.GetChanges(UnityEngine.XR.ARSubsystems.XRAnchor, Unity.Collections.Allocator)
Start()
Declaration
public override void Start()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRAnchorSubsystem>.Start()
Stop()
Declaration
public override void Stop()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemProvider<UnityEngine.XR.ARSubsystems.XRAnchorSubsystem>.Stop()
TryAddAnchor(Pose, out XRAnchor)
Declaration
public override bool TryAddAnchor(Pose pose, out XRAnchor anchor)
Parameters
Type | Name | Description |
---|---|---|
Pose | pose | |
XRAnchor | anchor |
Returns
Type | Description |
---|---|
bool |
Overrides
UnityEngine.XR.ARSubsystems.XRAnchorSubsystem.Provider.TryAddAnchor(UnityEngine.Pose, out UnityEngine.XR.ARSubsystems.XRAnchor)
TryRemoveAnchor(TrackableId)
Declaration
public override bool TryRemoveAnchor(TrackableId trackableId)
Parameters
Type | Name | Description |
---|---|---|
TrackableId | trackableId |
Returns
Type | Description |
---|---|
bool |
Overrides
UnityEngine.XR.ARSubsystems.XRAnchorSubsystem.Provider.TryRemoveAnchor(UnityEngine.XR.ARSubsystems.TrackableId)