SpatialAnnotationTrackingMode


@ExperimentalSpatialAnnotationsApi
public final class SpatialAnnotationTrackingMode


Type of physical object to be tracked by spatial annotations.

Summary

Public fields

static final @NonNull SpatialAnnotationTrackingMode

Spatial annotations will not be tracked.

static final @NonNull SpatialAnnotationTrackingMode

Unlocks 3D quadrilateral tracking, and inherently includes POINT capabilities.

Public methods

final int
@NonNull String

Returns a string representation of SpatialAnnotationTrackingMode for debugging.

Public fields

DISABLED

public static final @NonNull SpatialAnnotationTrackingMode DISABLED

Spatial annotations will not be tracked.

QUAD

public static final @NonNull SpatialAnnotationTrackingMode QUAD

Unlocks 3D quadrilateral tracking, and inherently includes POINT capabilities.

Supported runtimes:

  • OpenXR

Required permissions:

Public methods

getMode

Added in 1.1.0-alpha02
public final int getMode()

toString

public @NonNull String toString()

Returns a string representation of SpatialAnnotationTrackingMode for debugging. Note: Not intended for production use.