SpatialAnnotation.State


class SpatialAnnotation.State : Trackable.State


State containing physical properties that update frame-to-frame.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

SpatialAnnotation

the SpatialAnnotation that owns this state

Pose

the Pose of the 2D plane origin where the annotation quad is rooted.

Quad?

the physical spatial geometry (in meters) residing on the local XY plane relative to the pose, this will only have a value when the spatial tracking mode is set to quad

open TrackingState

the TrackingState of the SpatialAnnotation

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

owner

Added in 1.1.0-alpha01
val owner: SpatialAnnotation

the SpatialAnnotation that owns this state

pose

Added in 1.1.0-alpha01
val pose: Pose

the Pose of the 2D plane origin where the annotation quad is rooted. The local +Z axis relative to the pose is equivalent to the surface normal, with the quad residing on the local XY plane

quad

Added in 1.1.0-alpha01
val quad: Quad?

the physical spatial geometry (in meters) residing on the local XY plane relative to the pose, this will only have a value when the spatial tracking mode is set to quad

trackingState

open val trackingState: TrackingState

the TrackingState of the SpatialAnnotation