loadModel method

Future<void> loadModel(
  1. ModelNode node
)

Load a glTF/GLB model into the scene.

Throws StateError if the controller is not yet attached.

Implementation

Future<void> loadModel(ModelNode node) async {
  _ensureAttached();
  await _channel!.invokeMethod('loadModel', node.toMap());
}