vrdBrushedMetalMaterial¶
-
class
vrdBrushedMetalMaterial
¶
(Inherits vrdBRDFMaterial
)
This class is used to handle all brushed metal material properties.
Summary¶
- Functions:
- getBrushOrientation() → vrdBrushOrientation
- getBumpTexture() → vrdBumpTexture
- getClearcoat() → vrdClearcoat
- getDiffuseColor() → QVector3D
- getDiffuseColorSpectrum() → vrSpectrum
- getDiffuseTexture() → vrdTexture
- getDisplacementTexture() → vrdDisplacementTexture
- getGlossyColor() → QVector3D
- getGlossyColorSpectrum() → vrSpectrum
- getGlossyTexture() → vrdTexture
- getIncandescence() → vrdIncandescence
- getMetalType() → vrdBrushedMetalMaterial.MetalType
- getReflectivity() → float
- getRoughnessTexture() → vrdRoughnessTexture
- getRoughnessU() → float
- getRoughnessV() → float
- setDiffuseColor(value)
- setDiffuseColorSpectrum(value)
- setGlossyColor(value)
- setGlossyColorSpectrum(value)
- setMetalType(value)
- setReflectivity(v)
- setRoughnessU(u)
- setRoughnessV(v)
Functions¶
-
vrdBrushedMetalMaterial.
getBrushOrientation
()¶ Gets access to all properties of vrdBrushOrientation.
The current vrdBrushOrientation::BrushAxis defines the texture mapping type for diffuse, glossy, bump and roughness texture of the brushed metal: UV mapping for radial and planar brush, Triplanar mapping for Triplanar brush.
Returns: An vrdBrushOrientation object, to read and write access of alls properties. Return type: vrdBrushOrientation
-
vrdBrushedMetalMaterial.
getBumpTexture
()¶ Gets access to all properties of vrdBumpTexture.
Returns: An vrdBumpTexture object, to read and write access of alls properties. Return type: vrdBumpTexture
-
vrdBrushedMetalMaterial.
getClearcoat
()¶ Gets access to all properties of vrdClearcoat.
Returns: An vrdClearcoat object, to read and write access of alls properties. Return type: vrdClearcoat
-
vrdBrushedMetalMaterial.
getDiffuseColor
()¶ Returns: Current diffuse reflection color Return type: QVector3D
-
vrdBrushedMetalMaterial.
getDiffuseColorSpectrum
()¶ Gets the diffuse color spectrum.
Returns: The current used spectrum for diffuse color Return type: vrSpectrum
-
vrdBrushedMetalMaterial.
getDiffuseTexture
()¶ Gets access to all properties of the diffuse texture.
Returns: An vrdTexture object, to read and write access of alls properties. Return type: vrdTexture
-
vrdBrushedMetalMaterial.
getDisplacementTexture
()¶ Gets access to all properties of vrdDisplacementTexture.
Returns: An vrdDisplacementTexture object, to read and write access of alls properties. Return type: vrdDisplacementTexture
-
vrdBrushedMetalMaterial.
getGlossyColor
()¶ Returns: Current glossy reflection color. Return type: QVector3D
-
vrdBrushedMetalMaterial.
getGlossyColorSpectrum
()¶ Returns: The material’s color spectrum for glossy reflections Return type: vrSpectrum
-
vrdBrushedMetalMaterial.
getGlossyTexture
()¶ Gets access to all properties of the glossy texture.
Returns: An vrdTexture object, to read and write access of alls properties. Return type: vrdTexture
-
vrdBrushedMetalMaterial.
getIncandescence
()¶ Gets access to all properties of vrdIncandescence.
Returns: An vrdIncandescence object, to read and write access of alls properties. Return type: vrdIncandescence
-
vrdBrushedMetalMaterial.
getMetalType
()¶ Gets the metal types used.
Returns: Current value of used metal types. Return type: vrdBrushedMetalMaterial.MetalType
-
vrdBrushedMetalMaterial.
getReflectivity
()¶ Gets the brushed metal’s reflective intensity.
Returns: Current value of brushed metal’s reflective intensity. Return type: float
-
vrdBrushedMetalMaterial.
getRoughnessTexture
()¶ Gets access to all properties of vrdRoughnessTexture.
Returns: An vrdRoughnessTexture object, to read and write access of alls properties. Return type: vrdRoughnessTexture
-
vrdBrushedMetalMaterial.
getRoughnessU
()¶ Gets light reflection on top of the surface.
Returns: Current used value for light reflection on top of the surface Return type: float
-
vrdBrushedMetalMaterial.
getRoughnessV
()¶ Gets light reflection on top of the surface.
Returns: Current used value for light reflection on top of the surface Return type: float
-
vrdBrushedMetalMaterial.
setDiffuseColor
(value)¶ Sets the diffuse reflection color of the material.
Diffuse is only evaluated with vrdBrushedMetalMaterial::MetalType::CustomReflectivity.
Parameters: value (QVector3D) – New diffuse color.
-
vrdBrushedMetalMaterial.
setDiffuseColorSpectrum
(value)¶ Sets the diffuse color spectrum.
Parameters: value (vrSpectrum) – New spectrum for diffuse color
-
vrdBrushedMetalMaterial.
setGlossyColor
(value)¶ Sets the glossy reflection color of the material.
Parameters: value (QVector3D) – New glossy reflection color
-
vrdBrushedMetalMaterial.
setGlossyColorSpectrum
(value)¶ Sets the material’s color spectrum for glossy reflections.
Parameters: value (vrSpectrum) – New color spectrum
-
vrdBrushedMetalMaterial.
setMetalType
(value)¶ Sets the metal types used, changing the characteristics of the metal.
Parameters: value (vrdBrushedMetalMaterial.MetalType) – New value for used metal type.
-
vrdBrushedMetalMaterial.
setReflectivity
(v)¶ Sets the brushed metal’s reflective intensity. The higher the value, the more reflective.
Parameters: v (float) – New value of brushed metal’s reflective intensity.
-
vrdBrushedMetalMaterial.
setRoughnessU
(u)¶ Sets light reflection on top of the surface. The higher the value, the rougher the microscopic structure on top of the surface and more blurred the reflections. Sets the horizontal roughness for every type of refraction behavior commonly known from metallic surfaces.
Parameters: u (float) – New value for light reflection on top of the surface.
-
vrdBrushedMetalMaterial.
setRoughnessV
(v)¶ Controls light reflection on top of the surface. The higher the value, the rougher the microscopic structure on top of the surface and more blurred the reflections. Sets the vertical roughness for every type of refraction behavior commonly known from metallic surfaces.
Parameters: v (float) – New value for light reflection on top of the surface.