Debian Codegraph @

doc/man/man3/ivm/nodes/SoNormalBinding.ivm

raw
1 NAME SoNormalBinding SoNormBind SO_NORM_BIND_ {
2 node that specifies how multiple surface normals are bound to shapes
3 }
4
5 INCLUDE nodes/SoNormalBinding.h
6
7 DESC {
8 This node specifies how the current normals are bound to shapes that
9 follow in the scene graph. Each shape node may interpret bindings
10 differently.
11 \p
12 The bindings for faces and vertices are meaningful only for shapes
13 that are made from faces and vertices. Similarly, the indexed bindings
14 are only used by the shapes that allow indexing. For bindings that
15 require multiple normals, be sure to have at least as many normals
16 defined as are necessary; otherwise, errors will occur.
17 }
18
19 ENUM Binding {
20 OVERALL "Whole object has same normal",
21 PER_PART "One normal for each part of object",
22 PER_PART_INDEXED "One normal for each part, indexed",
23 PER_FACE "One normal for each face of object",
24 PER_FACE_INDEXED "One normal for each face, indexed",
25 PER_VERTEX "One normal for each vertex of object",
26 PER_VERTEX_INDEXED "One normal for each vertex, indexed"
27 }
28
29 FIELD value { Specifies how to bind normals to shapes. }
30
31 METHOD "" SoNormalBinding() {
32 Creates a normal binding node with default settings.
33 }
34
35 METHOD "" static SoType getClassTypeId() {
36 Returns type identifier for this class.
37 }
38
39 ACTION SoGLRenderAction, SoCallbackAction, SoRayPickAction {
40 Sets the current normal binding type.
41 }
42
43 ALSO {
44 SoMaterialBinding,
45 SoNormal,
46 SoTextureCoordinateBinding,
47 SoVertexShape
48 }