class TestPlane : TestTrackable


Flat surface in the test environment.

Summary

Public constructors

TestPlane(planeType: PlaneType, planeLabel: PlaneLabel)

Public properties

Pose

the Pose at the center of the plane

FloatSize2d

a pair of extents describing the size of the plane

open Boolean

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

PlaneLabel

the PlaneLabel that describes the surface

TestPlane?

a possible other plane that this plane has been merged into

PlaneType

the PlaneType of the surface

List<Vector2>

the Vector2 vertices of a convex polygon approximating the detected plane

Public constructors

TestPlane

Added in 1.0.0-rc01
TestPlane(planeType: PlaneType, planeLabel: PlaneLabel)

Public properties

centerPose

Added in 1.0.0-rc01
var centerPose: Pose

the Pose at the center of the plane

extents

Added in 1.0.0-rc01
var extents: FloatSize2d

a pair of extents describing the size of the plane

isVisible

open var isVisible: Boolean

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

label

Added in 1.0.0-rc01
var label: PlaneLabel

the PlaneLabel that describes the surface

subsumedBy

Added in 1.0.0-rc01
var subsumedBy: TestPlane?

a possible other plane that this plane has been merged into

type

Added in 1.0.0-rc01
var type: PlaneType

the PlaneType of the surface

vertices

Added in 1.0.0-rc01
var vertices: List<Vector2>

the Vector2 vertices of a convex polygon approximating the detected plane