Open CASCADE Technology 7.8.0
|
#include <VrmlData_Material.hxx>
Implementation of the Material node
VrmlData_Material::VrmlData_Material | ( | ) |
Empty constructor
VrmlData_Material::VrmlData_Material | ( | const VrmlData_Scene & | theScene, |
const char * | theName, | ||
const Standard_Real | theAmbientIntensity = -1. , |
||
const Standard_Real | theShininess = -1. , |
||
const Standard_Real | theTransparency = -1. |
||
) |
Constructor
|
inline |
Query the Ambient color
|
inline |
Query the Ambient Intensity value
|
overridevirtual |
Create a copy of this node. If the parameter is null, a new copied node is created. Otherwise new node is not created, but rather the given one is modified.
Reimplemented from VrmlData_Node.
|
inline |
Query the Diffuse color
|
inline |
Query the Emissive color
|
overridevirtual |
Returns True if the node is default, so that it should not be written.
Reimplemented from VrmlData_Node.
|
overridevirtual |
Read the Node from input stream.
Implements VrmlData_Node.
|
inline |
Query the Ambient color
|
inline |
Set the Ambient Intensity value
|
inline |
Query the Diffuse color
|
inline |
Query the Emissive color
|
inline |
Set the Shininess value
|
inline |
Query the Specular color
|
inline |
Set the Transparency value
|
inline |
Query the Shininess value
|
inline |
Query the Specular color
|
inline |
Query the Transparency value
|
overridevirtual |
Write the Node to the Scene output.
Reimplemented from VrmlData_Node.