Class ARPlaneMeshVisualizer
Generates a mesh for an ARPlane.
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: solution.dll
Syntax
[RequireComponent(typeof(ARPlane))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARPlaneMeshVisualizer.html")]
public sealed class ARPlaneMeshVisualizer : MonoBehaviour
Remarks
If this component's Game
It will also update a Line
Mesh
- This component is enabled.
- The plane's tracking
State is greater than or equal to trackingState .Visibility Threshold - The ARSession's state is greater than Ready.
- hide
Subsumed isfalse
OR subsumedBy is notnull
.
Properties
Name | Description |
---|---|
hide |
Indicates whether subsumed planes should be rendered. (See subsumed |
mesh | Get the Mesh that this visualizer creates and manages. |
tracking |
The threshold Tracking |