loadModel abstract method

Future<void> loadModel(
  1. String modelPath,
  2. Map<String, ByteData> resources
)

Method to load the model. resources is empty for .glb models and populated for .gltf models.

Implementation

Future<void> loadModel(String modelPath, Map<String, ByteData> resources);