API reference
API reference
Select your platform
No SDKs available
No versions available

reparentChildInWorldCoordinates Function

Modifiers: final
Changes the parent of an entity while preserving its world-space position and orientation.

Signature

fun reparentChildInWorldCoordinates(parent: Entity, child: Entity)

Parameters

parent: Entity Parent entity in the scene hierarchy.
child: Entity Child.