vrdFlipflopFlakeLayer

class vrdFlipflopFlakeLayer

(Inherits vrdSceneObject)

This class is used for all flip flop material layer properties.

Functions

vrdFlipflopFlakeLayer.getBlending()

Gets the mixture ratio of two flake colors.

Returns:Current used mixture ratio of two flake colors.
Return type:float
vrdFlipflopFlakeLayer.getColor1()

Gets the color of the flakes when viewed at an angle.

Returns:Current color of the flakes viewed at an angle.
Return type:QVector3D
vrdFlipflopFlakeLayer.getColor1Spectrum()

Gets the spectrum of the flakes viewed at an angle.

Returns:The current used spectrum of the flakes viewed at an angle.
Return type:vrSpectrum
vrdFlipflopFlakeLayer.getColor2()

Gets the color of the flakes when viewed at normal incidence.

Returns:Current used color of the flakes when viewed at normal incidence.
Return type:QVector3D
vrdFlipflopFlakeLayer.getColor2Spectrum()

Gets the spectrum of the flakes when viewed at normal incidence.

Returns:The current used spectrum of the flakes when viewed at normal incidence.
Return type:vrSpectrum
vrdFlipflopFlakeLayer.getIntensity()

Gets the amount of variation in the flake’s normal directions.

Returns:The current value of the variation in the flake’s normal direcions.
Return type:float
vrdFlipflopFlakeLayer.getRoughness()

Gets the roughness of the flake surfaces.

Returns:Current roughness of the flake surfaces
Return type:float
vrdFlipflopFlakeLayer.getSize()

Gets the flake’s size.

Returns:The current value of the flake’s size.
Return type:float
vrdFlipflopFlakeLayer.setBlending(value)

Defines the mixture ratio of two flake colors.

Parameters:value (float) – New used value for flake’s color mixture ratio.
vrdFlipflopFlakeLayer.setColor1(value)

Sets the color of the flakes when viewed at an angle.

Parameters:value (QVector3D) – New color for the flakes viewed at an angle.
vrdFlipflopFlakeLayer.setColor1Spectrum(value)

Sets the spectrum of the flakes when viewed at an angle.

Parameters:value (vrSpectrum) – New spectrum for the flakes viewed at an angle
vrdFlipflopFlakeLayer.setColor2(value)

Sets the color of the flakes when viewed at normal incidence.

Parameters:value (QVector3D) – New color for the flakes when viewed at normal incidence.
vrdFlipflopFlakeLayer.setColor2Spectrum(value)

Sets the spectrum of the flakes when viewed at normal incidence.

Parameters:value (vrSpectrum) – New spectrum for the flakes when viewed at normal incidence.
vrdFlipflopFlakeLayer.setIntensity(value)

Sets the amount of variation in the flake’s normal directions.

Parameters:value (float) – New value for the variation in the flake’s normal direcions.
vrdFlipflopFlakeLayer.setRoughness(roughness)

Sets the roughness of the flake surfaces. A lower value represents a smoother surface resulting in more specular reflections while a higher value represents a rough surface resulting in a more diffuse reflections.

Parameters:roughness (float) – New value of the flake roughness
vrdFlipflopFlakeLayer.setSize(value)

Sets the flake’s size. The higher the value, the larger the flakes in the paint.

Parameters:value (float) – New value of flake’s size.