Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
XCAFDoc_VisMaterialPBR Struct Reference

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

Detailed Description

Metallic-roughness PBR material definition.

Constructor & Destructor Documentation

◆ XCAFDoc_VisMaterialPBR()

XCAFDoc_VisMaterialPBR::XCAFDoc_VisMaterialPBR ( )
inline

Empty constructor.

Member Function Documentation

◆ DumpJson()

void XCAFDoc_VisMaterialPBR::DumpJson ( Standard_OStream & theOStream,
int theDepth = -1 ) const
inline

Dumps the content of me into the stream.

◆ IsEqual()

bool XCAFDoc_VisMaterialPBR::IsEqual ( const XCAFDoc_VisMaterialPBR & theOther) const
inline

Compare two materials.

Field Documentation

◆ BaseColor

Quantity_ColorRGBA XCAFDoc_VisMaterialPBR::BaseColor

base color (or scale factor to the texture); [1.0, 1.0, 1.0, 1.0] by default

◆ BaseColorTexture

occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::BaseColorTexture

RGB texture for the base color.

◆ EmissiveFactor

NCollection_Vec3<float> XCAFDoc_VisMaterialPBR::EmissiveFactor

emissive color; [0.0, 0.0, 0.0] by default

◆ EmissiveTexture

occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::EmissiveTexture

RGB emissive map controls the color and intensity of the light being emitted by the material.

◆ IsDefined

bool XCAFDoc_VisMaterialPBR::IsDefined

defined flag; TRUE by default

◆ Metallic

float XCAFDoc_VisMaterialPBR::Metallic

metalness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default

◆ MetallicRoughnessTexture

occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::MetallicRoughnessTexture

RG texture packing the metallic and roughness properties together.

◆ NormalTexture

occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::NormalTexture

normal map

◆ OcclusionTexture

occ::handle<Image_Texture> XCAFDoc_VisMaterialPBR::OcclusionTexture

R occlusion map indicating areas of indirect lighting.

◆ RefractionIndex

float XCAFDoc_VisMaterialPBR::RefractionIndex

IOR (index of refraction) within range [1.0, 3.0]; 1.5 by default.

◆ Roughness

float XCAFDoc_VisMaterialPBR::Roughness

roughness (or scale factor to the texture) within range [0.0, 1.0]; 1.0 by default


The documentation for this struct was generated from the following file: