class TestPlane : TestTrackable


Represents a flat surface in the test environment, which can be described by a PlaneType.

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-alpha15
TestPlane(planeType: PlaneType, planeLabel: PlaneLabel)

Public properties

centerPose

Added in 1.0.0-alpha15
var centerPosePose

the Pose at the center of the plane

extents

Added in 1.0.0-alpha15
var extentsFloatSize2d

a pair of extents describing the size of the plane

isVisible

open var isVisibleBoolean

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

label

Added in 1.0.0-alpha15
var labelPlaneLabel

the PlaneLabel that describes the surface

subsumedBy

Added in 1.0.0-alpha15
var subsumedByTestPlane?

a possible other plane that this plane has been merged into

type

Added in 1.0.0-alpha15
var typePlaneType

the PlaneType of the surface

vertices

Added in 1.0.0-alpha15
var verticesList<Vector2>

the Vector2 vertices of a convex polygon approximating the detected plane