SoBaseColor(3IV)
SoBaseColor (SoBaseCol) - node that defines an object's base color
As shipped in IRIX 6.5.22. Added in IRIX 6.5.22.
NAME SoBaseColor (SoBaseCol) - node that defines an object's base color INHERITS FROM SoBase > SoFieldContainer > SoNode > SoBaseColor SYNOPSIS #include <Inventor_c/nodes/SoBaseColor.h> typedef SoBaseColor SoBaseCol Fields from class SoBaseColor: SoMFColor rgb Functions from class SoBaseColor: SoBaseColor * SoBaseColCreate() SoType SoBaseColGetClassTypeId() Functions from class SoNode: void SoBaseColSetOverride(SoBaseCol *this, SbBool state) SbBool SoBaseColIsOverride(const SoBaseCol *this) SoNode * SoBaseColCopy(const SoBaseCol *this, SbBool copyConnections = FALSE) SbBool SoBaseColAffectsState(const SoBaseCol *this) SoNode * SoBaseColGetByName(const char *name) int SoBaseColGetByNameList(const char *name, SoNodeList *list) Functions from class SoFieldContainer: void SoBaseColSetToDflts(SoBaseCol *this) SbBool SoBaseColHasDfltVals(const SoBaseCol *this) SbBool SoBaseColFldsAreEq(const SoBaseCol *this, const SoFieldContainer *fc) void SoBaseColCopyFieldVals(SoBaseCol *this, const SoFieldContainer *fc, SbBool copyConnections = FALSE) SbBool SoBaseColSet(SoBaseCol *this, const char *fieldDataString) void SoBaseColGet(SoBaseCol *this, SbString *fieldDataString) int SoBaseColGetFields(const SoBaseCol *this, SoFieldList *resultList) SoField * SoBaseColGetField(const SoBaseCol *this, const char *fieldName) SbBool SoBaseColGetFieldName(const SoBaseCol *this, const SoField *field, SbName *fieldName) SbBool SoBaseColIsNotifyEnabled(const SoBaseCol *this) SbBool SoBaseColEnableNotify(SoBaseCol *this, SbBool flag) Functions from class SoBase: void SoBaseColRef(SoBaseCol *this) void SoBaseColUnref(const SoBaseCol *this) void SoBaseColUnrefNoDelete(const SoBaseCol *this) void SoBaseColTouch(SoBaseCol *this) SoType SoBaseColGetTypeId(const SoBaseCol *this) SbBool SoBaseColIsOfType(const SoBaseCol *this, SoType type) void SoBaseColSetName(SoBaseCol *this, const char *name) SbName SoBaseColGetName(const SoBaseCol *this) DESCRIPTION This node defines the base color (or colors) of subsequent shape nodes in the scene graph. SoBaseColor sets only the diffuse color(s) of the current material and has no effect on the material's other attributes. FIELDS SoMFColor rgb RGB color(s). FUNCTIONS SoBaseColor * SoBaseColCreate() Creates a base color node with default settings. SoType SoBaseColGetClassTypeId() Returns type identifier for this class. ACTION BEHAVIOR SoGLRenderAction, SoCallbackAction Sets the current base color in the state. FILE FORMAT/DEFAULTS BaseColor { rgb 0.8 0.8 0.8 } SEE ALSO SoMaterial, SoPackedColor