| 1 |
NAME SoTextureCoordinateBinding SoTexCoordBind SO_TEX_COORD_BIND_ { |
| 2 |
node that specifies how texture coordinates are bound to shapes |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE nodes/SoTextureCoordinateBinding.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This node specifies how the current texture coordinates are bound to |
| 9 |
vertex-based shapes that follow in the scene graph. The \kDEFAULT\. |
| 10 |
binding causes each shape to define its own default coordinates. |
| 11 |
These default coordinates typically cause a texture to be mapped |
| 12 |
across the whole surface of a shape. |
| 13 |
} |
| 14 |
|
| 15 |
ENUM Binding { |
| 16 |
PER_VERTEX "Current texture coordinates are applied sequentially |
| 17 |
to vertices of shape", |
| 18 |
PER_VERTEX_INDEXED "Current texture coordinates are indexed per vertex" |
| 19 |
} |
| 20 |
|
| 21 |
FIELD value { Specifies how to bind texture coordinates to shapes. } |
| 22 |
|
| 23 |
METHOD "" SoTextureCoordinateBinding() { |
| 24 |
Creates a texture coordinate binding node with default settings. |
| 25 |
} |
| 26 |
|
| 27 |
METHOD "" static SoType getClassTypeId() { |
| 28 |
Returns type identifier for this class. |
| 29 |
} |
| 30 |
|
| 31 |
ACTION SoGLRenderAction, SoCallbackAction { |
| 32 |
Sets the current texture coordinate binding type. |
| 33 |
} |
| 34 |
|
| 35 |
ALSO { |
| 36 |
SoMaterialBinding, |
| 37 |
SoNormalBinding, |
| 38 |
SoTexture2, |
| 39 |
SoTexture2Transform, |
| 40 |
SoTextureCoordinate2, |
| 41 |
SoTextureCoordinateFunction, |
| 42 |
SoVertexShape |
| 43 |
} |