Mesh.primitives constructor
Mesh.primitives({
- required List<
MeshPrimitive> primitives,
Creates a Mesh composed of the supplied MeshPrimitive list.
Use this constructor for multi-material models, where each MeshPrimitive pairs a separate Geometry with its own Material.
Implementation
Mesh.primitives({required this.primitives});