![]() |
• Graphics Manager | ||
|
API Links
Developer Links
|
Renderable::SetTransformableDefined in:
Sets a pointer to the C4Renderable.hTransformable object.
Prototype
Parameters
Description
The SetTransformable function sets a pointer to the Transformable object that determines the transformation from object space to world space. By default, a renderable object has no Transformable object assigned to it, meaning that the object's vertices exist in world space.
Special Considerations
The 3 × 3 rotation portion of the object-to-world transformation contained within the Transformable object should be orthogonal and should have a determinant of +1. That is, it must represent only a rotation and contain no scale, skew, or mirroring of any kind. Failure to meet this requirement will result in incorrect lighting for the renderable object.
See Also
|