C4 Engine
C4 Engine API Documentation

class Transformable

Defined in:  C4Types.h
The Transformable class encapsulates an object-to-world transform and its inverse.
Definition

class Transformable

Member Functions
Transformable::SetIdentityTransform Sets the transform to the identity.
Transformable::GetWorldTransform Returns the object-to-world transform.
Transformable::GetInverseWorldTransform Returns the world-to-object transform.
Transformable::SetWorldTransform Sets the object-to-world transform and its inverse.
Transformable::GetWorldPosition Returns the world-space position.
Transformable::SetWorldPosition Sets the world-space position.
Constructor

Transformable();

Description
The Transformable class encapsulates a transform from object space to world space and maintains the corresponding inverse transform from world space to object space.

The constructor leaves the transform undefined.