clearEntities method

  1. @override
Future<void> clearEntities()
override

Removes/destroys all renderable entities from the scene (including cameras). All ThermionEntity handles will no longer be valid after this method is called; ensure you immediately discard all references to all entities once this method is complete.

Implementation

@override
Future<void> clearEntities() async {
  await _shim.clearEntities().toDart;
}