vrdMetallicCarpaintMaterial¶
-
class
vrdMetallicCarpaintMaterial
¶
(Inherits vrdBRDFMaterial
)
This class is used to handle all metalic paint material properties.
Summary¶
- Functions:
- getBaseColor() → QVector3D
- getBaseColorSpectrum() → vrSpectrum
- getClearcoat() → vrdClearcoat
- getDisplacementTexture() → vrdDisplacementTexture
- getIncandescence() → vrdIncandescence
- getPaintType() → vrdMetallicCarpaintMaterial.PaintType
- getPrimaryFlakeLayer() → vrdFlakeLayer
- getSecondaryFlakeLayer() → vrdFlakeLayer
- setBaseColor(color)
- setBaseColorSpectrum(value)
- setPaintType(type)
Functions¶
-
vrdMetallicCarpaintMaterial.
getBaseColor
()¶ Get the the basic color.
Returns: The current used the basic color Return type: QVector3D
-
vrdMetallicCarpaintMaterial.
getBaseColorSpectrum
()¶ Gets the spectrum of the base color.
Returns: The current used spectrum for base color. Return type: vrSpectrum
-
vrdMetallicCarpaintMaterial.
getClearcoat
()¶ Gets access to all properties of vrdClearcoat.
Returns: An vrdClearcoat object, to read and write access of alls properties. Return type: vrdClearcoat
-
vrdMetallicCarpaintMaterial.
getDisplacementTexture
()¶ Gets access to all properties of vrdDisplacementTexture.
Returns: An vrdDisplacementTexture object, to read and write access of alls properties. Return type: vrdDisplacementTexture
-
vrdMetallicCarpaintMaterial.
getIncandescence
()¶ Gets access to all properties of vrdIncandescence.
Returns: An vrdIncandescence object, to read and write access of alls properties. Return type: vrdIncandescence
-
vrdMetallicCarpaintMaterial.
getPaintType
()¶ Gets the used type of carpaint.
Returns: Current used type of carpaint Return type: vrdMetallicCarpaintMaterial.PaintType
-
vrdMetallicCarpaintMaterial.
getPrimaryFlakeLayer
()¶ Gets access to all properties of first vrdFlakeLayer.
Returns: An vrdFlakeLayer object, to read and write access of alls properties. Return type: vrdFlakeLayer
-
vrdMetallicCarpaintMaterial.
getSecondaryFlakeLayer
()¶ Gets access to all properties of second vrdFlakeLayer.
Returns: An vrdFlakeLayer object, to read and write access of alls properties. Return type: vrdFlakeLayer
-
vrdMetallicCarpaintMaterial.
setBaseColor
(color)¶ Defines the basic color, which is the main characteristic of the material.
Parameters: color (QVector3D) – Value for the new base color.
-
vrdMetallicCarpaintMaterial.
setBaseColorSpectrum
(value)¶ Sets the spectrum of the base color.
Parameters: value (vrSpectrum) – New spectrum for base color
-
vrdMetallicCarpaintMaterial.
setPaintType
(type)¶ Sets the type of carpaint to simulate. Choose from three types. Artistic uses a simplified approach and consists of three layers (base, primary flake, clearcoat layer). 2-Coat uses a more realistic approach. 3-Coat uses four layers, including two flake layers on top.
Parameters: type (vrdMetallicCarpaintMaterial.PaintType) – New used type of carpaint