setCamera method

  1. @override
Future<void> setCamera(
  1. ThermionEntity entity,
  2. String? name
)
override

Sets the current scene camera to the glTF camera under name in entity.

Implementation

@override
Future<void> setCamera(ThermionEntity entity, String? name) async {
  await _shim.setCamera(entity, name).toDart;
}