loadModel abstract method
Method to load the model from assets or network.
resources
is empty for .glb models and populated for .gltf models.
Implementation
Future<void> loadModel({
String? modelPath,
String? modelUrl,
required Map<String, ByteData> resources,
List<String>? preselectedEntities,
List<double>? selectionColor,
List<PatchColor>? patchColors, // Add patchColors
});