Attributes
The MeshVertexAttributes that were written to the MeshGenerationResult.Mesh.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public readonly MeshVertexAttributes Attributes { get; }
Remarks
The vertex attributes will be the intersection of those requested by the caller of XRMeshSubsystem.GenerateMeshAsync and what the subsystem's mesh provider is able to supply. For example, if you request vertex tangents, but the mesh provider cannot supply them, then MeshGenerationResult.Attributes will not include tangents.
Additional Resources: XRMeshSubsystem.GenerateMeshAsync