loadGltf method

  1. @override
Future<ThermionEntity> loadGltf(
  1. String path,
  2. String relativeResourcePath, {
  3. bool force = false,
})
override

Load the .gltf asset at the given path and insert into the scene. relativeResourcePath is the folder path where the glTF resources are stored; this is usually the parent directory of the .gltf file itself.

Implementation

@override
Future<ThermionEntity> loadGltf(String path, String relativeResourcePath,
    {bool force = false}) async {
  throw UnimplementedError();
  // final ThermionEntity jsEntity = await _shim
  //     .loadGltf(path, relativeResourcePath, force: force)
  //     .toDart;
  // return ThermionEntity._fromJSObject(jsEntity).toDart;
}