다음을 통해 공유


XRMarker Struct

Definition

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

public struct XRMarker : UnityEngine.XR.ARSubsystems.ITrackable
type XRMarker = struct
    interface ITrackable
Public Structure XRMarker
Implements 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

See also