Partager via


XRMarkerSubsystem Class

Definition

Base class for marker subsystems.

public class XRMarkerSubsystem : UnityEngine.XR.ARSubsystems.TrackingSubsystem<Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker,Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarkerSubsystem,Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarkerSubsystemDescriptor,Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarkerSubsystem.Provider>
type XRMarkerSubsystem = class
    inherit TrackingSubsystem<XRMarker, XRMarkerSubsystem, XRMarkerSubsystemDescriptor, XRMarkerSubsystem.Provider>
Public Class XRMarkerSubsystem
Inherits TrackingSubsystem(Of XRMarker, XRMarkerSubsystem, XRMarkerSubsystemDescriptor, XRMarkerSubsystem.Provider)
Inheritance
XRMarkerSubsystem

Remarks

This subsystem surfaces information regarding the detection of markers such as QRCodes in the physical environment.

Constructors

XRMarkerSubsystem()

Properties

DefaultTransformMode

Default TransformMode for newly detected markers.

Methods

GetChanges(Allocator)

Get the changes to markers (added, updated, and removed) since the last call to GetChanges(Allocator).

GetDecodedString(TrackableId)

Get decoded string for an existing XRMarker.

GetQRCodeProperties(TrackableId)

Get QR code properties for an existing XRMarker of type QRCode.

GetRawData(TrackableId, Allocator)

Get raw data for an existing XRMarker.

SetTransformMode(TrackableId, TransformMode)

Set transform mode of an existing XRMarker.

Applies to