Class ARPlaneMeshVisualizer
Generates a mesh for an ARPlane.
Namespace: UnityEngine.XR.ARFoundation
Syntax
public sealed class ARPlaneMeshVisualizer : MonoBehaviour
Remarks
If this GameObject
has a MeshFilter
and/or MeshCollider
,
this component will generate a mesh from the underlying BoundedPlane
.
It will also update a LineRenderer
with the boundary points, if present.
Properties
mesh
Get the Mesh
that this visualizer creates and manages.
Declaration
public Mesh mesh { get; }
Property Value
Type | Description |
---|---|
Mesh |