vrdReflectivePlasticMaterial

class vrdReflectivePlasticMaterial

(Inherits vrdBRDFMaterial)

This class is used to handle all reflexive plastic material properties.

class FresnelQuality
Fast
Accurate

Functions

vrdReflectivePlasticMaterial.getBumpTexture()

Gets access to all properties of vrdBumpTexture.

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

Gets the diffuse color spectrum.

Returns:The current used spectrum for diffuse color
Return type:vrSpectrum
vrdReflectivePlasticMaterial.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
vrdReflectivePlasticMaterial.getDisplacementTexture()

Gets access to all properties of vrdDisplacementTexture.

Returns:An vrdDisplacementTexture object, to read and write access of alls properties.
Return type:vrdDisplacementTexture
vrdReflectivePlasticMaterial.getFresnelQuality()

Gets mode of the intensity of a reflection, based on the viewing angle.

Returns:Current mode of the intensity of a reflection, based on the viewing angle.
Return type:vrdReflectivePlasticMaterial.FresnelQuality
vrdReflectivePlasticMaterial.getIncandescence()

Gets access to all properties of vrdIncandescence.

Returns:An vrdIncandescence object, to read and write access of alls properties.
Return type:vrdIncandescence
vrdReflectivePlasticMaterial.getReflectivity()

Gets the intensity of the reflection on the surface.

Returns:Current used intensity of the reflection on the surface.
Return type:float
vrdReflectivePlasticMaterial.getSpecularColor()

Gets the current used surfaces specular reflection color.

Returns:Value of current used surfaces specular reflection color
Return type:QVector3D
vrdReflectivePlasticMaterial.getSpecularColorSpectrum()

Get the current used material’s color spectrum.

Returns:Value of current used material’s color spectrum
Return type:vrSpectrum
vrdReflectivePlasticMaterial.getSpecularTexture()

Gets access to all properties of the specular texture.

Returns:An vrdTexture object, to read and write access of alls properties.
Return type:vrdTexture
vrdReflectivePlasticMaterial.getSubsurfaceScattering()

Gets access to all properties of vrdSubsurfaceScattering.

Returns:An vrdSubsurfaceScattering object, to read and write access of alls properties.
Return type:vrdSubsurfaceScattering
vrdReflectivePlasticMaterial.setDiffuseColor(value)

Sets the diffuse reflection color of the material.

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

Sets the diffuse color spectrum.

Parameters:value (vrSpectrum) – New spectrum for diffuse color
vrdReflectivePlasticMaterial.setFresnelQuality(quality)

Sets the intensity of a reflection, based on the viewing angle. The material reflectivity sets its intensity at normal incidence. Fast: Uses a fast, but less accurate, approximation to the Fresnel Term. Accurate: Uses a physically accurate evaluation of the Fresnel Term.

Parameters:quality (vrdReflectivePlasticMaterial.FresnelQuality) – New mode of the intensity of a reflection, based on the viewing angle.
vrdReflectivePlasticMaterial.setReflectivity(v)

Controls the intensity of the reflection on the surface. The higher the value, the more the influence from the environment and objects around.

Parameters:v (float) – New intensity of the reflection on the surface.
vrdReflectivePlasticMaterial.setSpecularColor(value)

Sets the material’s color for surfaces specular reflections, serving as a multiplier for your texture.

Parameters:value (QVector3D) – New used surfaces specular reflection color
vrdReflectivePlasticMaterial.setSpecularColorSpectrum(value)

Sets the material’s color spectrum for surfaces specular reflections.

Parameters:value (vrSpectrum) – New used material’s color spectrum