1SoTextureCoordinateBinding(3IV)() SoTextureCoordinateBinding(3IV)()
2
3
4
6 SoTextureCoordinateBinding — node that specifies how texture coordi‐
7 nates are bound to shapes
8
10 SoBase > SoFieldContainer > SoNode > SoTextureCoordinateBinding
11
13 #include <Inventor/nodes/SoTextureCoordinateBinding.h>
14
15 enum Binding {
16 SoTextureCoordinateBinding::PER_VERTEX
17 Current texture coordinates are applied sequen‐
18 tially to vertices of shape
19 SoTextureCoordinateBinding::PER_VERTEX_INDEXED
20 Current texture coordinates are indexed per ver‐
21 tex
22 }
23
24 Fields from class SoTextureCoordinateBinding:
25
26 SoSFEnum value
27
28 Methods from class SoTextureCoordinateBinding:
29
30 SoTextureCoordinateBinding()
31 static SoType getClassTypeId()
32
33 Methods from class SoNode:
34
35 void setOverride(SbBool state)
36 SbBool isOverride() const
37 SoNode * copy(SbBool copyConnections = FALSE) const
38 virtual SbBool affectsState() const
39 static SoNode * getByName(const SbName &name)
40 static int getByName(const SbName &name, SoNodeList &list)
41
42 Methods from class SoFieldContainer:
43
44 void setToDefaults()
45 SbBool hasDefaultValues() const
46 SbBool fieldsAreEqual(const SoFieldContainer *fc) const
47 void copyFieldValues(const SoFieldContainer *fc, SbBool
48 copyConnections = FALSE)
49 SbBool set(const char *fieldDataString)
50 void get(SbString &fieldDataString)
51 virtual int getFields(SoFieldList &resultList) const
52 virtual SoField * getField(const SbName &fieldName) const
53 SbBool getFieldName(const SoField *field, SbName &fieldName)
54 const
55 SbBool isNotifyEnabled() const
56 SbBool enableNotify(SbBool flag)
57
58 Methods from class SoBase:
59
60 void ref()
61 void unref() const
62 void unrefNoDelete() const
63 void touch()
64 virtual SoType getTypeId() const
65 SbBool isOfType(SoType type) const
66 virtual void setName(const SbName &name)
67 virtual SbName getName() const
68
69
71 This node specifies how the current texture coordinates are bound to
72 vertex-based shapes that follow in the scene graph. The DEFAULT binding
73 causes each shape to define its own default coordinates. These default
74 coordinates typically cause a texture to be mapped across the whole
75 surface of a shape.
76
78 SoSFEnum value
79 Specifies how to bind texture coordinates to shapes.
80
81
83 SoTextureCoordinateBinding()
84 Creates a texture coordinate binding node with default settings.
85
86 static SoType getClassTypeId()
87 Returns type identifier for this class.
88
89
91 SoGLRenderAction, SoCallbackAction
92 Sets the current texture coordinate binding type.
93
94
96 TextureCoordinateBinding {
97 value PER_VERTEX_INDEXED
98 }
99
101 SoMaterialBinding, SoNormalBinding, SoTexture2, SoTexture2Transform,
102 SoTextureCoordinate2, SoTextureCoordinateFunction, SoVertexShape
103
104
105
106
107 SoTextureCoordinateBinding(3IV)()