getLocalTransform

fun getLocalTransform(node: Node): Mat4

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

Return

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

Parameters

node

the node in world-space to convert.


fun getLocalTransform(worldTransform: Transform): Mat4

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

Return

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

Parameters

worldTransform

the transform in world-space to convert.