Class ARFaceMeshVisualizer
Generates a mesh for an ARFace.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Syntax
[RequireComponent(typeof(ARFace))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@3.0/api/UnityEngine.XR.ARFoundation.ARFaceMeshVisualizer.html")]
public sealed class ARFaceMeshVisualizer : MonoBehaviour
Remarks
If this GameObject
has a MeshFilter
and/or MeshCollider
,
this component will generate a mesh from the underlying XRFace
.
Properties
mesh
Get the Mesh
that this visualizer creates and manages.
Declaration
public Mesh mesh { get; }
Property Value
Type | Description |
---|---|
Mesh |