GoogleARCore. DetectedPlane
A planar surface in the real world detected and tracked by ARCore.
Summary
Inheritance
Inherits from: GoogleARCore.Trackable
Properties |
|
---|---|
CenterPose
|
Pose
Gets the position and orientation of the plane's center in Unity world space.
|
ExtentX
|
float
Gets the extent of the plane in the X dimension, centered on the plane position.
|
ExtentZ
|
float
Gets the extent of the plane in the Z dimension, centered on the plane position.
|
PlaneType
|
Gets the type of the plane.
|
SubsumedBy
|
Gets a reference to the plane subsuming this plane, if any.
|
Public functions |
|
---|---|
GetBoundaryPolygon(List< Vector3 > boundaryPolygonPoints)
|
void
Gets a list of points (in clockwise order) in Unity world space representing a boundary polygon for the plane.
|
Properties
CenterPose
Pose CenterPose
Gets the position and orientation of the plane's center in Unity world space.
ExtentX
float ExtentX
Gets the extent of the plane in the X dimension, centered on the plane position.
ExtentZ
float ExtentZ
Gets the extent of the plane in the Z dimension, centered on the plane position.
SubsumedBy
DetectedPlane SubsumedBy
Gets a reference to the plane subsuming this plane, if any.
If not null, only the subsuming plane should be considered valid for rendering.
Public functions
GetBoundaryPolygon
void GetBoundaryPolygon( List< Vector3 > boundaryPolygonPoints )
Gets a list of points (in clockwise order) in Unity world space representing a boundary polygon for the plane.
Details | |||
---|---|---|---|
Parameters |
|