Experimental: this API is experimental and might be changed or removed in the future.

MeshGenerationResult.Attributes

Cambiar al Manual

Descripción

The MeshVertexAttributes that were written to the MeshGenerationResult.Mesh.

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.

See Also: XRMeshSubsystem.GenerateMeshAsync