Class XRPlaneTrackable
The AR mobile anchor for planes.
Inherited Members
Namespace: Evergine.Framework.XR.TrackableItems.Planes
Assembly: Evergine.Framework.dll
Syntax
public class XRPlaneTrackable : XRTrackableItem
Constructors
XRPlaneTrackable(Guid)
Initializes a new instance of the XRPlaneTrackable class.
Declaration
public XRPlaneTrackable(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | Anchor identifier. |
Fields
BoundaryPolygon
The 3D vertices of a convex polygon approximating the plane. These values are in the plane's local x-z plane (y=0) and must be transformed by the Transform to get the boundary in world coordinates.
Declaration
public Vector2[] BoundaryPolygon
Field Value
Type | Description |
---|---|
Vector2[] |
Size
The estimated width and length of the plane.
Declaration
public Vector3 Size
Field Value
Type | Description |
---|---|
Vector3 |
Type
The type of this plane.
Declaration
public XRPlaneTrackableType Type
Field Value
Type | Description |
---|---|
XRPlaneTrackableType |