clearEntities method
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 clearEntities() async {
_module.ccall(
"clear_entities", "void", ["void*".toJS].toJS, [_viewer!].toJS, null);
}