materials property

MaterialLibrary materials
latefinal

The material files shapes and models are drawn with (Primitive3D.material, ModelComponent.materials).

Implementation

late final MaterialLibrary materials = MaterialLibrary(
  renderer.uploader,
  models.read,
);