Class ARFaceMeshVisualizer
Generates a mesh for an ARFace.
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.XR.ARFoundation
Syntax
[RequireComponent(typeof(ARFace))]
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 |