#include <NodeMaterialProperties.h>
Inheritance diagram for NodeMaterialProperties:
Public Member Functions | |
NodeMaterialProperties (Scene *scene, Proto *proto) | |
virtual | ~NodeMaterialProperties () |
virtual int | getType () const |
virtual Node * | copy () const |
virtual int | getNodeClass () const |
virtual void | bind () |
virtual void | unbind () |
MATERIAL_PROPERTIES {
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] exposedField SFString description "MaterialName" exposedField SFFloat thickness 2 exposedField SFFloat materialWeight 16 exposedField SFInt32 materialType 4 }
virtual NodeMaterialProperties::~NodeMaterialProperties | ( | ) | [inline, virtual] |
virtual int NodeMaterialProperties::getType | ( | ) | const [inline, virtual] |
virtual Node* NodeMaterialProperties::copy | ( | ) | const [inline, virtual] |
virtual int NodeMaterialProperties::getNodeClass | ( | ) | const [inline, virtual] |
Returns a NODE_CHILD as a node class (used to validate the scene)
Reimplemented from Node.
void NodeMaterialProperties::bind | ( | ) | [virtual] |
To be overriden by the subclasses
Reimplemented from Node.
void NodeMaterialProperties::unbind | ( | ) | [virtual] |
To be overriden by the subclasses
Reimplemented from Node.