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