3D texture transformation node. More...
#include <Inventor/nodes/SoTexture3Transform.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoTexture3Transform () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec3f | translation |
SoSFFloat | rotation |
SoSFVec3f | scaleFactor |
SoSFVec3f | center |
This node defines a 3D transformation applied to texture coordinates. This affects the way textures are applied to the surfaces of subsequent shapes. The transformation consists of (in order) a non-uniform scale about an arbitrary center point, a rotation about that same point, and a translation. (Note: while the transformations can be thought of as being applied in that order, the GL matrices are actually premultiplied in the opposite order. Therefore, the operations are listed in the reverse order throughout this reference page.) This allows a user to change the size and position of the textures on objects.
translation | 0 0 0 |
rotation | 0 |
scaleFactor | 1 1 1 |
center | 0 0 0 |
SoTexture3, SoTextureCoordinate3, SoTextureCoordinateFunction
SoTexture3Transform::SoTexture3Transform | ( | ) |
Creates a texture transformation node with default settings.
static SoType SoTexture3Transform::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoTexture3Transform::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Center point used for scaling and rotation.
Counterclockwise rotation of the coordinate space, in radians.
This results in a clockwise rotation of the texture on the object.
Scaling factors in S, T, and R.
Translation in S, T, and R.