Skip to main content
Version: 12 Dec 2024

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

TypeNameDescription
XRAnchordefaultAnchor
Allocatorallocator

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

TypeNameDescription
Posepose
out XRAnchorxrAnchor

override bool TryRemoveAnchor

public override bool TryRemoveAnchor(
TrackableId trackableId
)

Parameters

TypeNameDescription
TrackableIdtrackableId