removeEntity method
Removes/destroys the specified entity from the scene.
entity
will no longer be a valid handle after this method is called; ensure you immediately discard all references once this method is complete.
Implementation
@override
Future removeEntity(ThermionEntity entity) async {
_module.ccall("remove_entity", "void", ["void*".toJS, "int".toJS].toJS,
[_viewer!, entity.toJS].toJS, null);
}