MagicLeapProvider
Inherits from:
Provider
Public Methods
override void Destroy
public override void Destroy()
override unsafe TrackableChanges< XRAnchor > GetChanges
public override unsafe TrackableChanges< XRAnchor > GetChanges(
XRAnchor defaultAnchor,
Allocator allocator
)
Parameters
Type | Name | Description |
---|---|---|
XRAnchor | defaultAnchor | |
Allocator | allocator |
MagicLeapProvider
public MagicLeapProvider()
override void Start
public override void Start()
override void Stop
public override void Stop()
override unsafe bool TryAddAnchor
public override unsafe bool TryAddAnchor(
Pose pose,
out XRAnchor xrAnchor
)
Parameters
Type | Name | Description |
---|---|---|
Pose | pose | |
out XRAnchor | xrAnchor |
override bool TryRemoveAnchor
public override bool TryRemoveAnchor(
TrackableId trackableId
)
Parameters
Type | Name | Description |
---|---|---|
TrackableId | trackableId |