API reference

getAbsoluteTransform Function

Modifiers: final
Computes the world-space transform for an entity by composing transforms up the parent hierarchy.
A TransformParent link that names a mesh node (see TransformParent.nodeName / TransformParent.nodeIndex) composes the parent's live node pose in between, so the result tracks the parent's animation the same way the rendered transform does.
This function uses pose-only hierarchy composition. It matches the rendered position when TickTransformSystem.applyScale is false and ScaleSystem handles scaling. When TickTransformSystem.applyScale is true, use getAbsoluteScaledTransform to obtain the rendered world-space pose and accumulated scale.
In pose-only mode, neither an ancestor entity's nor a node's Scale propagates. A parent's own Scale is still used to position its node on the rendered mesh.

Signature

fun getAbsoluteTransform(entity: Entity): Pose

Parameters

entity: Entity The target entity.

Returns