setScale method
Directly sets the scale for entity
, skipping all collision detection.
Implementation
@override
Future setScale(ThermionEntity entity, double scale) async {
_module.ccall(
"set_scale",
"void",
["void*".toJS, "int".toJS, "float".toJS].toJS,
[_sceneManager!, entity.toJS, scale.toJS].toJS,
null);
}