FakeRuntimeAugmentedObject


class FakeRuntimeAugmentedObject


Fake implementation of AugmentedObject for testing purposes.

Summary

Public constructors

FakeRuntimeAugmentedObject(
    centerPose: Pose,
    extents: FloatSize3d,
    category: AugmentedObjectCategory,
    trackingState: TrackingState,
    anchors: MutableCollection<Anchor>
)

Public properties

MutableCollection<Anchor>

a MutableCollection of Anchors attached to this object

open AugmentedObjectCategory

the AugmentedObjectCategory of this tracked object

open Pose

the Pose determined to represent the center of this object

open FloatSize3d

a set of extents to used to determine the size of the object

open TrackingState

the TrackingState of this trackable

Public constructors

FakeRuntimeAugmentedObject

Added in 1.0.0-alpha12
FakeRuntimeAugmentedObject(
    centerPose: Pose = Pose(),
    extents: FloatSize3d = FloatSize3d(),
    category: AugmentedObjectCategory = AugmentedObjectCategory.KEYBOARD,
    trackingState: TrackingState = TrackingState.TRACKING,
    anchors: MutableCollection<Anchor> = mutableListOf()
)

Public properties

anchors

Added in 1.0.0-alpha12
val anchorsMutableCollection<Anchor>

a MutableCollection of Anchors attached to this object

category

Added in 1.0.0-alpha12
open var categoryAugmentedObjectCategory

the AugmentedObjectCategory of this tracked object

centerPose

Added in 1.0.0-alpha12
open var centerPosePose

the Pose determined to represent the center of this object

extents

Added in 1.0.0-alpha12
open var extentsFloatSize3d

a set of extents to used to determine the size of the object

trackingState

Added in 1.0.0-alpha12
open var trackingStateTrackingState

the TrackingState of this trackable