Open CASCADE Technology
7.7.0
|
Metallic-roughness PBR material definition. More...
#include <XCAFDoc_VisMaterialPBR.hxx>
Public Member Functions | |
XCAFDoc_VisMaterialPBR () | |
Empty constructor. More... | |
Standard_Boolean | IsEqual (const XCAFDoc_VisMaterialPBR &theOther) const |
Compare two materials. More... | |
void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const |
Dumps the content of me into the stream. More... | |
Data Fields | |
Handle< Image_Texture > | BaseColorTexture |
RGB texture for the base color. More... | |
Handle< Image_Texture > | MetallicRoughnessTexture |
RG texture packing the metallic and roughness properties together. More... | |
Handle< Image_Texture > | EmissiveTexture |
RGB emissive map controls the color and intensity of the light being emitted by the material. More... | |
Handle< Image_Texture > | OcclusionTexture |
R occlusion map indicating areas of indirect lighting. More... | |
Handle< Image_Texture > | NormalTexture |
normal map More... | |
Quantity_ColorRGBA | BaseColor |
base color (or scale factor to the texture); [1.0, 1.0, 1.0, 1.0] by default More... | |
Graphic3d_Vec3 | EmissiveFactor |
emissive color; [0.0, 0.0, 0.0] by default More... | |
Standard_ShortReal | Metallic |
metalness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default More... | |
Standard_ShortReal | Roughness |
roughness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default More... | |
Standard_ShortReal | RefractionIndex |
IOR (index of refraction) within range [1.0, 3.0]; 1.5 by default. More... | |
Standard_Boolean | IsDefined |
defined flag; TRUE by default More... | |
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 |
base color (or scale factor to the texture); [1.0, 1.0, 1.0, 1.0] by default
Handle< Image_Texture > XCAFDoc_VisMaterialPBR::BaseColorTexture |
RGB texture for the base color.
Graphic3d_Vec3 XCAFDoc_VisMaterialPBR::EmissiveFactor |
emissive color; [0.0, 0.0, 0.0] by default
Handle< Image_Texture > XCAFDoc_VisMaterialPBR::EmissiveTexture |
RGB emissive map controls the color and intensity of the light being emitted by the material.
Standard_Boolean XCAFDoc_VisMaterialPBR::IsDefined |
defined flag; TRUE by default
Standard_ShortReal XCAFDoc_VisMaterialPBR::Metallic |
metalness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default
Handle< Image_Texture > XCAFDoc_VisMaterialPBR::MetallicRoughnessTexture |
RG texture packing the metallic and roughness properties together.
Handle< Image_Texture > XCAFDoc_VisMaterialPBR::NormalTexture |
normal map
Handle< Image_Texture > XCAFDoc_VisMaterialPBR::OcclusionTexture |
R occlusion map indicating areas of indirect lighting.
Standard_ShortReal XCAFDoc_VisMaterialPBR::RefractionIndex |
IOR (index of refraction) within range [1.0, 3.0]; 1.5 by default.
Standard_ShortReal XCAFDoc_VisMaterialPBR::Roughness |
roughness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default