Class ARPlaneMeshVisualizer
Generates a mesh for an ARPlane.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Syntax
[RequireComponent(typeof(ARPlane))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.1/api/UnityEngine.XR.ARFoundation.ARPlaneMeshVisualizer.html")]
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 |