| Home | Download | Screen shots | Discussion | Documentation |
|---|

Public Member Functions | |
| material_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
| Construct. | |
| virtual | ~material_node () throw () |
| Destroy. | |
| virtual float | ambient_intensity () const throw () |
| Get the ambient intensity. | |
| virtual const color & | diffuse_color () const throw () |
| Get the diffuse color. | |
| virtual const color & | emissive_color () const throw () |
| Get the emissive color. | |
| virtual float | shininess () const throw () |
| Get the shininess. | |
| virtual const color & | specular_color () const throw () |
| Get the specular color. | |
| virtual float | transparency () const throw () |
| Get the transparency. | |
Private Attributes | |
| exposedfield< sffloat > | ambient_intensity_ |
| ambientIntensity exposedField. | |
| exposedfield< sfcolor > | diffuse_color_ |
| diffuseColor exposedField. | |
| exposedfield< sfcolor > | emissive_color_ |
| emissiveColor exposedField. | |
| exposedfield< sffloat > | shininess_ |
| shininess exposedField. | |
| exposedfield< sfcolor > | specular_color_ |
| specularColor exposedField. | |
| exposedfield< sffloat > | transparency_ |
| transparency exposedField. | |
Friends | |
| class | material_class |
| Class object for Material nodes. | |
|
||||||||||||
|
Construct.
Reimplemented from openvrml::material_node. |
|
|
Destroy.
Implements openvrml::material_node. |
|
|
Get the ambient intensity.
Implements openvrml::material_node. |
|
|
Get the diffuse color.
Implements openvrml::material_node. |
|
|
Get the emissive color.
Implements openvrml::material_node. |
|
|
Get the shininess.
Implements openvrml::material_node. |
|
|
Get the specular color.
Implements openvrml::material_node. |
|
|
Get the transparency.
Implements openvrml::material_node. |
|
|
Class object for Material nodes.
|
|
|
ambientIntensity exposedField.
|
|
|
diffuseColor exposedField.
|
|
|
emissiveColor exposedField.
|
|
|
shininess exposedField.
|
|
|
specularColor exposedField.
|
|
|
transparency exposedField.
|