A3DGraphTextureTransformationData Struct Reference

Texture Transformation Structure. More...

Data Fields

A3DBool m_bIs2D
 
A3DBool m_bTextureFlipS
 
A3DBool m_bTextureFlipT
 
A3DDouble m_dMatrix [16]
 
A3DUns16 m_usStructSize
 

Detailed Description

Texture Transformation Structure.

Version
2.0

The HOOPS Exchange Library supports 2D texture transformations. It does not currently support 3D texture transformations.

The matrix is always an array of 16 doubles.
Rotation around x: matrix[0], matrix[1], matrix[2]
Rotation around y: matrix[4], matrix[5], matrix[6]
Rotation around z: matrix[8], matrix[9], matrix[10]
Translation(x,y,z): matrix[12], matrix[13], matrix[14]

Field Documentation

A3DUns16 A3DGraphTextureTransformationData::m_usStructSize

Reserved; should be initialized by A3D_INITIALIZE_DATA.

A3DBool A3DGraphTextureTransformationData::m_bTextureFlipS

Inverts the S coordinate parameter.

A3DBool A3DGraphTextureTransformationData::m_bTextureFlipT

Inverts the T coordinate parameter.

A3DDouble A3DGraphTextureTransformationData::m_dMatrix[16]

Coordinates of the matrix, which are described in the Detailed Description for this structure.

A3DBool A3DGraphTextureTransformationData::m_bIs2D

Indicates that matrix_transformation contains only 2D terms; always true in this version.