Debian Codegraph @

doc/man/man3/ivm/nodes/SoTexture2Transform.ivm

raw
1 NAME SoTexture2Transform SoTex2Xf "" { 2D texture transformation node }
2
3 INCLUDE nodes/SoTexture2Transform.h
4
5 DESC {
6 This node defines a 2D transformation applied to texture coordinates.
7 This affects the way textures are applied to the surfaces of
8 subsequent shapes. The transformation consists of (in order) a
9 non-uniform scale about an arbitrary center point, a rotation about
10 that same point, and a translation. (Note: while the transformations
11 can be thought of as being applied in that order, the GL matrices are
12 actually premultiplied in the opposite order. Therefore, the
13 operations are listed in the reverse order throughout this reference page.)
14 This allows a user to change the size and position of the textures on
15 objects.
16 }
17
18 FIELD translation { Translation in S and T. }
19
20 FIELD rotation {
21 Counter-clockwise rotation of the coordinate space, in radians. This
22 results in a clockwise rotation of the texture on the object.
23 }
24
25 FIELD scaleFactor { Scaling factors in S and T. }
26
27 FIELD center { Center point used for scaling and rotation. }
28
29 METHOD "" SoTexture2Transform() {
30 Creates a texture transformation node with default settings.
31 }
32
33 METHOD "" static SoType getClassTypeId() {
34 Returns type identifier for this class.
35 }
36
37 ACTION SoGLRenderAction, SoCallbackAction {
38 Concatenates transformation with the current texture transformation.
39 }
40
41 ALSO {
42 SoTexture2,
43 SoTextureCoordinate2,
44 SoTextureCoordinateFunction
45 }