getTransform

fun TransformManager.getTransform(transformInstance: Int): Mat4

Returns the local transform of a transform component.

Return

the local transform of the component (i.e. relative to the parent). This always returns the value set by setTransform().

Parameters

transformInstance

the EntityInstance of the transform component to query the local transform from.

See also

TransformManager.setTransform