Class ARFaceMeshVisualizer
Generates a mesh for an ARFace.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
[RequireComponent(typeof(ARFace))]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/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 |