XRMarker Struct

Definition

The session-relative data associated with a marker. Following design pattern set by UnityEngine.XR.ARSubsystems.BoundedPlane

C#
public struct XRMarker : UnityEngine.XR.ARSubsystems.ITrackable
Inheritance
XRMarker
Implements
UnityEngine.XR.ARSubsystems.ITrackable

Properties

center

The center of the marker in marker space (relative to its pose).

lastSeenTime

The time the marker was last seen.

markerType

The type of the marker. Currently we only support markers of type QRCode.

nativePtr

A native pointer associated with this marker. The data pointer to by this pointer is implementation defined.

pose

The Pose, in session space, of the marker.

size

The size (dimensions) of the marker in meters.

trackableId

The UnityEngine.XR.ARSubsystems.TrackableId associated with this marker.

trackingState

The UnityEngine.XR.ARSubsystems.TrackingState of the marker.

transformMode

The type of transform on the marker.

Applies to

Product Versions
Mixed Reality OpenXR Plugin 1.9, 1.10, 1.11

See also