setParent method
Sets the parent transform of child
to parent
.
Implementation
@override
Future setParent(ThermionEntity child, ThermionEntity parent) async {
_module.ccall(
"set_parent",
"void",
["void*".toJS, "int".toJS, "int".toJS].toJS,
[_sceneManager!, child.toJS, parent.toJS].toJS,
null);
}