class TestPlane : TestTrackable


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

Summary

Public constructors

TestPlane(planeType: Plane.Type, planeLabel: Plane.Label)

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

Plane.Label

the PlaneLabel that describes the surface

TestPlane?

a possible other plane that this plane has been merged into

Plane.Type

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-alpha14
TestPlane(planeType: Plane.Type, planeLabel: Plane.Label)

Public properties

centerPose

Added in 1.0.0-alpha14
var centerPosePose

the Pose at the center of the plane

extents

Added in 1.0.0-alpha14
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-alpha14
var labelPlane.Label

the PlaneLabel that describes the surface

subsumedBy

Added in 1.0.0-alpha14
var subsumedByTestPlane?

a possible other plane that this plane has been merged into

type

Added in 1.0.0-alpha14
var typePlane.Type

the PlaneType of the surface

vertices

Added in 1.0.0-alpha14
var verticesList<Vector2>

the Vector2 vertices of a convex polygon approximating the detected plane