TestAugmentedObject


public final class TestAugmentedObject extends TestTrackable


A representation of a real-world object of an AugmentedObjectCategory in the test environment.

Summary

Public constructors

Public methods

final @NonNull AugmentedObjectCategory

the AugmentedObjectCategory that describes the object

final @NonNull Pose

Pose at the center of the augmented object

final @NonNull FloatSize3d

the FloatSize3d extents used to determine the size of the object

boolean

indicates whether the trackable object is currently in view of the runtime

final void

the AugmentedObjectCategory that describes the object

final void

Pose at the center of the augmented object

final void

the FloatSize3d extents used to determine the size of the object

void
setVisible(boolean value)

indicates whether the trackable object is currently in view of the runtime

Public constructors

TestAugmentedObject

Added in 1.0.0-alpha14
public TestAugmentedObject(@NonNull AugmentedObjectCategory category)

Public methods

getCategory

Added in 1.0.0-alpha14
public final @NonNull AugmentedObjectCategory getCategory()

the AugmentedObjectCategory that describes the object

getCenterPose

Added in 1.0.0-alpha14
public final @NonNull Pose getCenterPose()

Pose at the center of the augmented object

getExtents

Added in 1.0.0-alpha14
public final @NonNull FloatSize3d getExtents()

the FloatSize3d extents used to determine the size of the object

isVisible

public boolean isVisible()

indicates whether the trackable object is currently in view of the runtime

setCategory

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

the AugmentedObjectCategory that describes the object

setCenterPose

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

Pose at the center of the augmented object

setExtents

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

the FloatSize3d extents used to determine the size of the object

setVisible

public void setVisible(boolean value)

indicates whether the trackable object is currently in view of the runtime