Open CASCADE Technology 7.8.0
|
defines a Material node of VRML specifying properties of geometry and its appearance. This node defines the current surface material properties for all subsequent shapes. Material sets several components of the current material during traversal. Different shapes interpret materials with multiple values differently. To bind materials to shapes, use a MaterialBinding node. More...
#include <Vrml_Material.hxx>
Additional Inherited Members | |
Public Types inherited from Standard_Transient | |
typedef void | base_type |
Returns a type descriptor about this object. | |
Static Public Member Functions inherited from Standard_Transient | |
static constexpr const char * | get_type_name () |
Returns a type descriptor about this object. | |
static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
Returns type descriptor of Standard_Transient class. | |
defines a Material node of VRML specifying properties of geometry and its appearance. This node defines the current surface material properties for all subsequent shapes. Material sets several components of the current material during traversal. Different shapes interpret materials with multiple values differently. To bind materials to shapes, use a MaterialBinding node.
Vrml_Material::Vrml_Material | ( | const Handle< Quantity_HArray1OfColor > & | aAmbientColor, |
const Handle< Quantity_HArray1OfColor > & | aDiffuseColor, | ||
const Handle< Quantity_HArray1OfColor > & | aSpecularColor, | ||
const Handle< Quantity_HArray1OfColor > & | aEmissiveColor, | ||
const Handle< TColStd_HArray1OfReal > & | aShininess, | ||
const Handle< TColStd_HArray1OfReal > & | aTransparency | ||
) |
Vrml_Material::Vrml_Material | ( | ) |
Handle< Quantity_HArray1OfColor > Vrml_Material::AmbientColor | ( | ) | const |
Handle< Quantity_HArray1OfColor > Vrml_Material::DiffuseColor | ( | ) | const |
Handle< Quantity_HArray1OfColor > Vrml_Material::EmissiveColor | ( | ) | const |
Standard_OStream & Vrml_Material::Print | ( | Standard_OStream & | anOStream | ) | const |
void Vrml_Material::SetAmbientColor | ( | const Handle< Quantity_HArray1OfColor > & | aAmbientColor | ) |
void Vrml_Material::SetDiffuseColor | ( | const Handle< Quantity_HArray1OfColor > & | aDiffuseColor | ) |
void Vrml_Material::SetEmissiveColor | ( | const Handle< Quantity_HArray1OfColor > & | aEmissiveColor | ) |
void Vrml_Material::SetShininess | ( | const Handle< TColStd_HArray1OfReal > & | aShininess | ) |
void Vrml_Material::SetSpecularColor | ( | const Handle< Quantity_HArray1OfColor > & | aSpecularColor | ) |
void Vrml_Material::SetTransparency | ( | const Handle< TColStd_HArray1OfReal > & | aTransparency | ) |
Handle< TColStd_HArray1OfReal > Vrml_Material::Shininess | ( | ) | const |
Handle< Quantity_HArray1OfColor > Vrml_Material::SpecularColor | ( | ) | const |
Handle< TColStd_HArray1OfReal > Vrml_Material::Transparency | ( | ) | const |