Class Plane
Describes a plane detected by InstantTracker
Inheritance
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class Plane
Methods
getConfidence()
Returns the confidence level for the plane.
The confidence level is mapped between 0 and 1.
Declaration
public float getConfidence()
Returns
Type | Description |
---|---|
System.Single | The confidence level for the plane. |
getConvexHull()
Gets the convex hull of the plane.
The convex hull can be used to render the plane mesh as a triangle fan. All the points are relative to the plane coordinate system and can also be used as texture coordinates.
Declaration
public IList<Pointf> getConvexHull()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<Pointf> | The convex hull of the plane. |
getExtentX()
Gets the extents of the plane in the X axis.
Declaration
public Extentf getExtentX()
Returns
Type | Description |
---|---|
Extentf | The extents of the plane in the X axis. |
getExtentY()
Gets the extents of the plane in the Y axis.
Declaration
public Extentf getExtentY()
Returns
Type | Description |
---|---|
Extentf | The extents of the plane in the Y axis. |
getMatrix()
Gets the combined modelview matrix that should be applied to augmentations when rendering.
Declaration
public Matrix getMatrix()
Returns
Type | Description |
---|---|
Matrix | The matrix that should be applied to the target augmentation when rendering. |
getPlaneType()
Gets the type for this plane.
Please refer to the PlaneType documentation for more details.
Declaration
public PlaneType getPlaneType()
Returns
Type | Description |
---|---|
PlaneType | The plane type. |
getUniqueId()
Gets the unique id of the Plane.
Declaration
public long getUniqueId()
Returns
Type | Description |
---|---|
System.Int64 | The unique id of the plane. |