C4 Engine
C4 Engine API Documentation

Transformable::GetInverseWorldTransform

Defined in:  C4Types.h
Returns the world-to-object transform.
Prototype

const Transform4D& GetInverseWorldTransform(voidconst;

Description
The GetInverseWorldTransform returns the Transform4D object corresponding to the transform from world space to object space. The inverse is not calculated at the time this function is called, but when the transform is set, so the performance of this function is high.
See Also

Transformable::GetWorldTransform

Transformable::SetWorldTransform

Transformable::GetWorldPosition

Transformable::SetWorldPosition