Attributes
The MeshVertexAttributes that were written to the MeshGenerationResult.Mesh.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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