| 1 |
NAME SoBaseColor SoBaseCol "" { node that defines an object's base color } |
| 2 |
|
| 3 |
INCLUDE nodes/SoBaseColor.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node defines the base color (or colors) of subsequent shape nodes |
| 7 |
in the scene graph. \cSoBaseColor\. sets only the diffuse color(s) of |
| 8 |
the current material and has no effect on the material's other |
| 9 |
attributes. |
| 10 |
} |
| 11 |
|
| 12 |
FIELD rgb { RGB color(s). } |
| 13 |
|
| 14 |
METHOD "" SoBaseColor() { |
| 15 |
Creates a base color node with default settings. |
| 16 |
} |
| 17 |
|
| 18 |
METHOD "" static SoType getClassTypeId() { |
| 19 |
Returns type identifier for this class. |
| 20 |
} |
| 21 |
|
| 22 |
ACTION SoGLRenderAction, SoCallbackAction { |
| 23 |
Sets the current base color in the state. |
| 24 |
} |
| 25 |
|
| 26 |
ALSO { SoMaterial, SoPackedColor } |
| 27 |
|