SoBaseColor Class Reference
[Lights & colors]

Node that defines an object's base color. More...

#include <Inventor/nodes/SoBaseColor.h>

Inheritance diagram for SoBaseColor:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoBaseColor ()
virtual void setOverride (const SbBool state)
virtual SbBool isOverride () const

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFColor rgb

Detailed Description

Node that defines an object's base color.

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.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoMaterial, SoPackedColor, SoVertexProperty


Constructor & Destructor Documentation

SoBaseColor::SoBaseColor (  ) 

Creates a base color node with default settings.


Member Function Documentation

static SoType SoBaseColor::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

virtual SoType SoBaseColor::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.

virtual SbBool SoBaseColor::isOverride (  )  const [inline, virtual]

Returns the state of the override field.

Reimplemented from SoNode.

virtual void SoBaseColor::setOverride ( const SbBool  state  )  [inline, virtual]

Set the state of the override field.

see SoNode::setOverride doc.

Reimplemented from SoNode.


Member Data Documentation

RGB color(s).


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/