File: SoTextureCoordinate2.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (41 lines) | stat: -rw-r--r-- 1,211 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
NAME SoTextureCoordinate2 SoTexCoord2 "" { 2D texture coordinate node }

INCLUDE nodes/SoTextureCoordinate2.h

DESC {
This node defines a set of 2D coordinates to be used to map textures
to subsequent vertex-based shapes (those derived from
\cSoVertexShape\.). It replaces the current texture coordinates in the
rendering state for the shapes to use.
\p
The current texture coordinate binding (see
\cSoTextureCoordinateBinding\.) determines how texture coordinates are
mapped to vertices of shapes. An alternative to using explicit texture
coordinates is to generate them using a function; see
\cSoTextureCoordinateFunction\..
\p
Texture coordinates range from 0 to 1 across the texture. The
horizontal coordinate, called \kS\., is specified first, followed by
the vertical coordinate, \kT\..
}

FIELD point { Texture coordinate points. }

METHOD "" SoTextureCoordinate2() {
Creates a texture coordinate node with default settings.
}

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ACTION SoGLRenderAction, SoCallbackAction {
Sets the current texture coordinates in the state.
}

ALSO {
SoTexture2,
SoTextureCoordinateBinding,
SoTextureCoordinateFunction,
SoVertexShape
}