ARMarkerManager.GetMarker(TrackableId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.