SpatialAnnotationTrackingMode


@ExperimentalSpatialAnnotationsApi
class SpatialAnnotationTrackingMode


Type of physical object to be tracked by spatial annotations.

Summary

Public companion properties

SpatialAnnotationTrackingMode

Spatial annotations will not be tracked.

SpatialAnnotationTrackingMode

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

Public functions

open String

Returns a string representation of SpatialAnnotationTrackingMode for debugging.

Public properties

Int

Public companion properties

DISABLED

val DISABLED: SpatialAnnotationTrackingMode

Spatial annotations will not be tracked.

QUAD

val QUAD: SpatialAnnotationTrackingMode

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

Supported runtimes:

  • OpenXR

Required permissions:

Public functions

toString

open fun toString(): String

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

Public properties

mode

Added in 1.1.0-alpha02
val mode: Int