![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Common (obsolete) material definition. More...
#include <XCAFDoc_VisMaterialCommon.hxx>
Public Member Functions | |
| XCAFDoc_VisMaterialCommon () | |
| Empty constructor. | |
| bool | IsEqual (const XCAFDoc_VisMaterialCommon &theOther) const |
| Compare two materials. | |
| void | DumpJson (Standard_OStream &theOStream, int theDepth=-1) const |
| Dumps the content of me into the stream. | |
Data Fields | |
| occ::handle< Image_Texture > | DiffuseTexture |
| image defining diffuse color | |
| Quantity_Color | AmbientColor |
| ambient color | |
| Quantity_Color | DiffuseColor |
| diffuse color | |
| Quantity_Color | SpecularColor |
| specular color | |
| Quantity_Color | EmissiveColor |
| emission color | |
| float | Shininess |
| shininess value | |
| float | Transparency |
| transparency value within [0, 1] range with 0 meaning opaque | |
| bool | IsDefined |
| defined flag; TRUE by default | |
Common (obsolete) material definition.
|
inline |
Empty constructor.
|
inline |
Dumps the content of me into the stream.
|
inline |
Compare two materials.
| Quantity_Color XCAFDoc_VisMaterialCommon::AmbientColor |
ambient color
| Quantity_Color XCAFDoc_VisMaterialCommon::DiffuseColor |
diffuse color
| occ::handle<Image_Texture> XCAFDoc_VisMaterialCommon::DiffuseTexture |
image defining diffuse color
| Quantity_Color XCAFDoc_VisMaterialCommon::EmissiveColor |
emission color
| bool XCAFDoc_VisMaterialCommon::IsDefined |
defined flag; TRUE by default
| float XCAFDoc_VisMaterialCommon::Shininess |
shininess value
| Quantity_Color XCAFDoc_VisMaterialCommon::SpecularColor |
specular color
| float XCAFDoc_VisMaterialCommon::Transparency |
transparency value within [0, 1] range with 0 meaning opaque