Partager via


ARMarkerManager.GetMarker(TrackableId) Method

Definition

Attempt to retrieve an existing ARMarker by trackableId.

public Microsoft.MixedReality.OpenXR.ARMarker GetMarker (UnityEngine.XR.ARSubsystems.TrackableId trackableId);
member this.GetMarker : UnityEngine.XR.ARSubsystems.TrackableId -> Microsoft.MixedReality.OpenXR.ARMarker
Public Function GetMarker (trackableId As TrackableId) As ARMarker

Parameters

trackableId
UnityEngine.XR.ARSubsystems.TrackableId

The UnityEngine.XR.ARSubsystems.TrackableId of the marker to retrieve.

Returns

The ARMarker with trackableId, or null if it does not exist.

Applies to