PlaneData Class

This type is an EasyAR Sense API in C#: PlaneData . Some descriptions may not apply to Unity environment on this page.

Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.

Methods

.ctor

C#

public PlaneData()

Constructor

getType

C#

public virtual PlaneType getType()

Returns the type of this plane.

getPose

C#

public virtual Matrix44F getPose()

Returns the pose of the center of the detected plane.The pose’s transformed +Y axis will be point normal out of the plane, with the +X and +Z axes orienting the extents of the bounding rectangle.

getExtentX

C#

public virtual float getExtentX()

Returns the length of this plane’s bounding rectangle measured along the local X-axis of the coordinate space centered on the plane.

getExtentZ

C#

public virtual float getExtentZ()

Returns the length of this plane’s bounding rectangle measured along the local Z-axis of the coordinate frame centered on the plane.