getWorldTransform

fun getWorldTransform(node: Node): Mat4

Converts a node transform in the local-space of this node to world-space.

Return

a new transform that represents the local transform in world-space.

Parameters

node

the node in local-space to convert.


fun getWorldTransform(localTransform: Transform): Mat4

Converts a transform in the local-space of this node to world-space.

Return

a new transform that represents the local transform in world-space.

Parameters

localTransform

the transform in local-space to convert.