- combinevoid combine(Transform otherTransform) 
- Combine the current transform with another one. 
- getInverseTransform getInverse() 
- Return the inverse of the transform. 
- getMatrixconst(float)[] getMatrix() 
- Return the transform as a 4x4 matrix. 
- opBinaryTransform opBinary(Vector2f vector) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opBinaryTransform opBinary(Transform rhs) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opOpAssignTransform opOpAssign(Transform rhs) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- rotatevoid rotate(float angle) 
- Combine the current transform with a rotation. 
- rotatevoid rotate(float angle, float centerX, float centerY) 
- Combine the current transform with a rotation. 
- scalevoid scale(float scaleX, float scaleY) 
- Combine the current transform with a scaling. 
- scalevoid scale(float scaleX, float scaleY, float centerX, float centerY) 
- Combine the current transform with a scaling. 
- toStringstring toString() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- transformPointVector2f transformPoint(Vector2f point) 
- transformRectFloatRect transformRect(const(FloatRect) rect) 
- translatevoid translate(float x, float y) 
- Combine the current transform with a translation. 
Define a 3x3 transform matrix.
A Transform specifies how to translate, rotate, scale, shear, project, whatever things.
In mathematical terms, it defines how to transform a coordinate system into another.
For example, if you apply a rotation transform to a sprite, the result will be a rotated sprite. And anything that is transformed by this rotation transform will be rotated the same way, according to its initial position.
Transforms are typically used for drawing. But they can also be used for any computation that requires to transform points between the local and global coordinate systems of an entity (like collision detection).