vrdCarbon2DMaterial¶
-
class
vrdCarbon2DMaterial
¶
(Inherits vrdBRDFMaterial
)
This class is used to handle all carbon material properties.
Summary¶
- Functions:
- getBumpTexture() → vrdBumpTexture
- getCarbonPattern() → vrdCarbonPattern2D
- getClearcoat() → vrdClearcoat
- getDiffuseColor() → QVector3D
- getDiffuseColorSpectrum() → vrSpectrum
- getDisplacementTexture() → vrdDisplacementTexture
- getGlossyColor() → QVector3D
- getGlossyColorSpectrum() → vrSpectrum
- getIncandescence() → vrdIncandescence
- getRoughness() → float
- setDiffuseColor(value)
- setDiffuseColorSpectrum(value)
- setGlossyColor(value)
- setGlossyColorSpectrum(value)
- setRoughness(roughness)
Functions¶
-
vrdCarbon2DMaterial.
getBumpTexture
()¶ Gets access to all properties of vrdBumpTexture.
Returns: An vrdBumpTexture object, to read and write access of alls properties. Return type: vrdBumpTexture
-
vrdCarbon2DMaterial.
getCarbonPattern
()¶ Gets access to all properties of vrdCarbonPattern2D.
Returns: An vrdCarbonPattern2D object, to read and write access of alls properties. Return type: vrdCarbonPattern2D
-
vrdCarbon2DMaterial.
getClearcoat
()¶ Gets access to all properties of vrdClearcoat.
Returns: An vrdClearcoat object, to read and write access of alls properties. Return type: vrdClearcoat
-
vrdCarbon2DMaterial.
getDiffuseColor
()¶ Returns: Current diffuse reflection color Return type: QVector3D
-
vrdCarbon2DMaterial.
getDiffuseColorSpectrum
()¶ Gets the diffuse color spectrum.
Returns: The current used spectrum for diffuse color Return type: vrSpectrum
-
vrdCarbon2DMaterial.
getDisplacementTexture
()¶ Gets access to all properties of vrdDisplacementTexture.
Returns: An vrdDisplacementTexture object, to read and write access of alls properties. Return type: vrdDisplacementTexture
-
vrdCarbon2DMaterial.
getGlossyColor
()¶ Returns: Current glossy reflection color Return type: QVector3D
-
vrdCarbon2DMaterial.
getGlossyColorSpectrum
()¶ Returns: The material’s color spectrum for glossy reflections Return type: vrSpectrum
-
vrdCarbon2DMaterial.
getIncandescence
()¶ Gets access to all properties of vrdIncandescence.
Returns: An vrdIncandescence object, to read and write access of alls properties. Return type: vrdIncandescence
-
vrdCarbon2DMaterial.
getRoughness
()¶ Returns: The current value of roughness for this material. Return type: float
-
vrdCarbon2DMaterial.
setDiffuseColor
(value)¶ Sets the diffuse reflection color of the material.
Parameters: value (QVector3D) – New diffuse color.
-
vrdCarbon2DMaterial.
setDiffuseColorSpectrum
(value)¶ Sets the diffuse color spectrum.
Parameters: value (vrSpectrum) – New spectrum for diffuse color
-
vrdCarbon2DMaterial.
setGlossyColor
(value)¶ Sets the glossy reflection color of the material.
Parameters: value (QVector3D) – New glossy reflection color
-
vrdCarbon2DMaterial.
setGlossyColorSpectrum
(value)¶ Sets the material’s color spectrum for glossy reflections.
Parameters: value (vrSpectrum) – New color spectrum
-
vrdCarbon2DMaterial.
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.