FakeRuntimeAugmentedObject


public final class FakeRuntimeAugmentedObject


Fake implementation of AugmentedObject for testing purposes.

Summary

Public constructors

FakeRuntimeAugmentedObject(
    @NonNull Pose centerPose,
    @NonNull FloatSize3d extents,
    @NonNull AugmentedObjectCategory category,
    @NonNull TrackingState trackingState,
    @NonNull Collection<@NonNull Anchor> anchors
)

Public methods

final @NonNull Collection<@NonNull Anchor>

a MutableCollection of Anchors attached to this object

@NonNull AugmentedObjectCategory

the AugmentedObjectCategory of this tracked object

@NonNull Pose

the Pose determined to represent the center of this object

@NonNull FloatSize3d

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

@NonNull TrackingState

the TrackingState of this trackable

void

the AugmentedObjectCategory of this tracked object

void

the Pose determined to represent the center of this object

void

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

void

the TrackingState of this trackable

Public constructors

FakeRuntimeAugmentedObject

Added in 1.0.0-alpha12
public FakeRuntimeAugmentedObject(
    @NonNull Pose centerPose,
    @NonNull FloatSize3d extents,
    @NonNull AugmentedObjectCategory category,
    @NonNull TrackingState trackingState,
    @NonNull Collection<@NonNull Anchor> anchors
)

Public methods

getAnchors

Added in 1.0.0-alpha12
public final @NonNull Collection<@NonNull AnchorgetAnchors()

a MutableCollection of Anchors attached to this object

getCategory

Added in 1.0.0-alpha12
public @NonNull AugmentedObjectCategory getCategory()

the AugmentedObjectCategory of this tracked object

getCenterPose

Added in 1.0.0-alpha12
public @NonNull Pose getCenterPose()

the Pose determined to represent the center of this object

getExtents

Added in 1.0.0-alpha12
public @NonNull FloatSize3d getExtents()

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

getTrackingState

Added in 1.0.0-alpha12
public @NonNull TrackingState getTrackingState()

the TrackingState of this trackable

setCategory

Added in 1.0.0-alpha12
public void setCategory(@NonNull AugmentedObjectCategory value)

the AugmentedObjectCategory of this tracked object

setCenterPose

Added in 1.0.0-alpha12
public void setCenterPose(@NonNull Pose value)

the Pose determined to represent the center of this object

setExtents

Added in 1.0.0-alpha12
public void setExtents(@NonNull FloatSize3d value)

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

setTrackingState

Added in 1.0.0-alpha12
public void setTrackingState(@NonNull TrackingState value)

the TrackingState of this trackable