C4 Engine
C4 Engine API Documentation

Renderable::GetTransformable

Defined in:  C4Renderable.h
Returns a pointer to the Transformable object.
Prototype

const Transformable *GetTransformable(voidconst;

Description
The GetTransformable function returns a pointer to the Transformable object that determines the transformation from object space to world space. If the renderable object has no Transformable object assigned to it (the default state), then the return value is nullptr. In this case, the renderable object's vertices are assumed to exist in world space.
See Also

Renderable::SetTransformable