#include <NodeMaterial.h>
Inheritance diagram for NodeMaterial:
Public Member Functions | |
NodeMaterial (Scene *scene, Proto *proto) | |
virtual | ~NodeMaterial () |
virtual int | getType () const |
virtual Node * | copy () const |
virtual int | getNodeClass () const |
virtual void | bind () |
virtual void | unbind () |
Material { exposedField SFFloat ambientIntensity 0.2 # [0,1] exposedField SFColor diffuseColor 0.8 0.8 0.8 # [0,1] exposedField SFColor emissiveColor 0 0 0 # [0,1] exposedField SFFloat shininess 0.2 # [0,1] exposedField SFColor specularColor 0 0 0 # [0,1] exposedField SFFloat transparency 0 # [0,1] }
virtual NodeMaterial::~NodeMaterial | ( | ) | [inline, virtual] |
virtual int NodeMaterial::getType | ( | ) | const [inline, virtual] |
virtual Node* NodeMaterial::copy | ( | ) | const [inline, virtual] |
virtual int NodeMaterial::getNodeClass | ( | ) | const [inline, virtual] |
Returns a NODE_CHILD as a node class (used to validate the scene)
Reimplemented from Node.
void NodeMaterial::bind | ( | ) | [virtual] |
To be overriden by the subclasses
Reimplemented from Node.
void NodeMaterial::unbind | ( | ) | [virtual] |
To be overriden by the subclasses
Reimplemented from Node.