![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Metallic-roughness PBR material definition. More...
#include <XCAFDoc_VisMaterialPBR.hxx>
Public Member Functions | |
| XCAFDoc_VisMaterialPBR () | |
| Empty constructor. | |
| bool | IsEqual (const XCAFDoc_VisMaterialPBR &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 > | BaseColorTexture |
| RGB texture for the base color. | |
| occ::handle< Image_Texture > | MetallicRoughnessTexture |
| RG texture packing the metallic and roughness properties together. | |
| occ::handle< Image_Texture > | EmissiveTexture |
| RGB emissive map controls the color and intensity of the light being emitted by the material. | |
| occ::handle< Image_Texture > | OcclusionTexture |
| R occlusion map indicating areas of indirect lighting. | |
| occ::handle< Image_Texture > | NormalTexture |
| normal map | |
| Quantity_ColorRGBA | BaseColor |
| base color (or scale factor to the texture); [1.0, 1.0, 1.0, 1.0] by default | |
| NCollection_Vec3< float > | EmissiveFactor |
| emissive color; [0.0, 0.0, 0.0] by default | |
| float | Metallic |
| metalness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default | |
| float | Roughness |
| roughness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default | |
| float | RefractionIndex |
| IOR (index of refraction) within range [1.0, 3.0]; 1.5 by default. | |
| bool | IsDefined |
| defined flag; TRUE by default | |
Metallic-roughness PBR material definition.
|
inline |
Empty constructor.
|
inline |
Dumps the content of me into the stream.
|
inline |
Compare two materials.
| Quantity_ColorRGBA XCAFDoc_VisMaterialPBR::BaseColor |
| occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::BaseColorTexture |
RGB texture for the base color.
| NCollection_Vec3<float> XCAFDoc_VisMaterialPBR::EmissiveFactor |
| occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::EmissiveTexture |
RGB emissive map controls the color and intensity of the light being emitted by the material.
| bool XCAFDoc_VisMaterialPBR::IsDefined |
defined flag; TRUE by default
| float XCAFDoc_VisMaterialPBR::Metallic |
| occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::MetallicRoughnessTexture |
RG texture packing the metallic and roughness properties together.
| occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::NormalTexture |
normal map
| occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::OcclusionTexture |
R occlusion map indicating areas of indirect lighting.
| float XCAFDoc_VisMaterialPBR::RefractionIndex |
| float XCAFDoc_VisMaterialPBR::Roughness |