vrdCarbonMaterial

class vrdCarbonMaterial

(Inherits vrdBRDFMaterial)

This class is used to handle all carbon material properties.

Functions

vrdCarbonMaterial.getBumpTexture()

Gets access to all properties of vrdBumpTexture.

Returns:An vrdBumpTexture object, to read and write access of alls properties.
Return type:vrdBumpTexture
vrdCarbonMaterial.getCarbonPattern()

Gets access to all properties of vrdCarbonPattern3D.

Returns:An vrdCarbonPattern3D object, to read and write access of alls properties.
Return type:vrdCarbonPattern3D
vrdCarbonMaterial.getClearcoat()

Gets access to all properties of vrdClearcoat.

Returns:An vrdClearcoat object, to read and write access of alls properties.
Return type:vrdClearcoat
vrdCarbonMaterial.getDiffuseColor()
Returns:Current diffuse reflection color
Return type:QVector3D
vrdCarbonMaterial.getDiffuseColorSpectrum()

Gets the diffuse color spectrum.

Returns:The current used spectrum for diffuse color
Return type:vrSpectrum
vrdCarbonMaterial.getDisplacementTexture()

Gets access to all properties of vrdDisplacementTexture.

Returns:An vrdDisplacementTexture object, to read and write access of alls properties.
Return type:vrdDisplacementTexture
vrdCarbonMaterial.getGlossyColor()
Returns:Current glossy reflection color
Return type:QVector3D
vrdCarbonMaterial.getGlossyColorSpectrum()
Returns:The material’s color spectrum for glossy reflections
Return type:vrSpectrum
vrdCarbonMaterial.getIncandescence()

Gets access to all properties of vrdIncandescence.

Returns:An vrdIncandescence object, to read and write access of alls properties.
Return type:vrdIncandescence
vrdCarbonMaterial.getRoughness()
Returns:The current value of roughness for this material.
Return type:float
vrdCarbonMaterial.setDiffuseColor(value)

Sets the diffuse reflection color of the material.

Parameters:value (QVector3D) – New diffuse color.
vrdCarbonMaterial.setDiffuseColorSpectrum(value)

Sets the diffuse color spectrum.

Parameters:value (vrSpectrum) – New spectrum for diffuse color
vrdCarbonMaterial.setGlossyColor(value)

Sets the glossy reflection color of the material.

Parameters:value (QVector3D) – New glossy reflection color
vrdCarbonMaterial.setGlossyColorSpectrum(value)

Sets the material’s color spectrum for glossy reflections.

Parameters:value (vrSpectrum) – New color spectrum
vrdCarbonMaterial.setRoughness(roughness)

Controls the sharpness of the glossy reflections. The higher the value, the rougher the microscopic structure of the surface and more diffuse the reflections. The lower the value, the glossier the material.

Parameters:roughness (float) – New value of roughness for this material.