Assimp
v3.0 (July 2012)
|
Defines how an UV channel is transformed. More...
Public Member Functions | |
aiUVTransform () |
Public Attributes | |
float | mRotation |
Rotation - in counter-clockwise direction. | |
aiVector2D | mScaling |
Scaling on the u and v axes. | |
aiVector2D | mTranslation |
Translation on the u and v axes. |
Defines how an UV channel is transformed.
This is just a helper structure for the AI_MATKEY_UVTRANSFORM key. See its documentation for more details.
Typically you'll want to build a matrix of this information. However, we keep separate scaling/translation/rotation values to make it easier to process and optimize UV transformations internally.
|
inline |
float aiUVTransform::mRotation |
Rotation - in counter-clockwise direction.
The rotation angle is specified in radians. The rotation center is 0.5f|0.5f. The default value
0.f.
aiVector2D aiUVTransform::mScaling |
Scaling on the u and v axes.
The default value is (1|1).
aiVector2D aiUVTransform::mTranslation |
Translation on the u and v axes.
The default value is (0|0).