1SoBaseColor(3IV)()                                          SoBaseColor(3IV)()
2
3
4

NAME

6       SoBaseColor — node that defines an object's base color
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoBaseColor
10

SYNOPSIS

12       #include <Inventor/nodes/SoBaseColor.h>
13
14          Fields from class SoBaseColor:
15
16     SoMFColor           rgb
17
18          Methods from class SoBaseColor:
19
20                         SoBaseColor()
21     static SoType       getClassTypeId()
22
23          Methods from class SoNode:
24
25     void                setOverride(SbBool state)
26     SbBool              isOverride() const
27     SoNode *            copy(SbBool copyConnections = FALSE) const
28     virtual SbBool      affectsState() const
29     static SoNode *     getByName(const SbName &name)
30     static int          getByName(const SbName &name, SoNodeList &list)
31
32          Methods from class SoFieldContainer:
33
34     void                setToDefaults()
35     SbBool              hasDefaultValues() const
36     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
37     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
38                              copyConnections = FALSE)
39     SbBool              set(const char *fieldDataString)
40     void                get(SbString &fieldDataString)
41     virtual int         getFields(SoFieldList &resultList) const
42     virtual SoField *   getField(const SbName &fieldName) const
43     SbBool              getFieldName(const SoField *field, SbName &fieldName)
44                              const
45     SbBool              isNotifyEnabled() const
46     SbBool              enableNotify(SbBool flag)
47
48          Methods from class SoBase:
49
50     void                ref()
51     void                unref() const
52     void                unrefNoDelete() const
53     void                touch()
54     virtual SoType      getTypeId() const
55     SbBool              isOfType(SoType type) const
56     virtual void        setName(const SbName &name)
57     virtual SbName      getName() const
58
59

DESCRIPTION

61       This  node defines the base color (or colors) of subsequent shape nodes
62       in the scene graph. SoBaseColor sets only the diffuse color(s)  of  the
63       current material and has no effect on the material's other attributes.
64

FIELDS

66     SoMFColor           rgb
67          RGB color(s).
68
69

METHODS

71                         SoBaseColor()
72          Creates a base color node with default settings.
73
74     static SoType       getClassTypeId()
75          Returns type identifier for this class.
76
77

ACTION BEHAVIOR

79       SoGLRenderAction, SoCallbackAction
80          Sets the current base color in the state.
81
82

FILE FORMAT/DEFAULTS

84       BaseColor {
85          rgb  0.8 0.8 0.8
86     }
87

SEE ALSO

89       SoMaterial, SoPackedColor
90
91
92
93
94                                                            SoBaseColor(3IV)()
Impressum