vrdFlakeLayer

class vrdFlakeLayer

(Inherits vrdSceneObject)

This class is used for all flake layer properties.

Functions

vrdFlakeLayer.getFlakeColor()

Gets the color of the flakes.

Returns:Current used color of the flakes.
Return type:QVector3D
vrdFlakeLayer.getFlakeColorSpectrum()

Gets the spectrum of the flakes.

Returns:Current spectrum of the flakes.
Return type:vrSpectrum
vrdFlakeLayer.getFlakeDensity()

Gets the concentration of the flakes by controlling how many flakes are present in the layer.

Returns:Current value of the concentration of the flakes
Return type:float
vrdFlakeLayer.getFlakePerturbation()

Gets the randomness of the flake’s orientation.

Returns:Current value of the randomness of the flake’s orientation.
Return type:float
vrdFlakeLayer.getFlakeReflectivity()

Gets the flake’s reflective intensity.

Returns:Current value for flake’s reflective intensity.
Return type:float
vrdFlakeLayer.getFlakeRoughness()

Gets the roughness of the flake surfaces.

Returns:Current roughness of the flake surfaces
Return type:float
vrdFlakeLayer.getFlakeSize()

Gets the flake’s size.

Returns:Current flake’s size.
Return type:float
vrdFlakeLayer.getFlipFlopBlending()

Gets the mixture ratio of the two flake colors.

Returns:Current used mixture ratio of the two flake colors.
Return type:float
vrdFlakeLayer.getFlipFlopFlakeColor()

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

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

Gets the metallic shiny flake’s spectrum.

Returns:Current spectrum for the shiny flake.
Return type:vrSpectrum
vrdFlakeLayer.getPigmentColor()

Gets the pigment’s color, which gives the basic color impression of this layer.

Returns:Current used value of the pigment’s color.
Return type:QVector3D
vrdFlakeLayer.getPigmentColorSpectrum()

Gets the pigment’s spectrum, which gives the basic color impression of this layer.

Returns:Current used pigment’s spectrum.
Return type:vrSpectrum
vrdFlakeLayer.getPigmentConcentration()

Gets the density of pigments by controling how many particles are present in the layer.

Returns:Current used density of pigments.
Return type:float
vrdFlakeLayer.getUseFlipFlop()

Gets the state of flakes with a Flip Flop behavior use.

Returns:Current state of flakes Flip Flop behavior use.
Return type:bool
vrdFlakeLayer.setFlakeColor(value)

Sets the color of the flakes. For a flip flop layer this defines the color of the flakes when viewed at a normal incidence.

Parameters:value (QVector3D) – New color for the flakes.
vrdFlakeLayer.setFlakeColorSpectrum(value)

Sets the spectrum of the flakes. For a flip flop layer this defines the spectrum of the flakes when viewed at a normal incidence.

Parameters:value (vrSpectrum) – New spectrum for the flakes.
vrdFlakeLayer.setFlakeDensity(value)

Sets the concentration of the flakes by controlling how many flakes are present in the layer. If the density is set to 0, no flakes are present and the paint represents a unicolor paint.

Parameters:value (float) – New concentration of the flakes.
vrdFlakeLayer.setFlakePerturbation(value)

Sets the randomness of the flake’s orientation. This adds a glitter effect to the paint.

Parameters:value (float) – New value of the randomness of the flake’s orientation.
vrdFlakeLayer.setFlakeReflectivity(value)

Sets the flake’s reflective intensity. The higher the value, the more reflectivity of the flakes in the paint.

Parameters:value (float) – New value for flake’s reflective intensity.
vrdFlakeLayer.setFlakeRoughness(value)

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:value (float) – New value of the flake roughness
vrdFlakeLayer.setFlakeSize(value)

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

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

Defines the mixture ratio of the two flake colors. By a lower value the intensity of the basic Flake color will be increased. By a higher value, the intensity of the Flip Flop Flake Color will be increased.

Parameters:value (float) – New used mixture ratio of the two flake colors.
vrdFlakeLayer.setFlipFlopFlakeColor(value)

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

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

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

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

Sets the pigment’s color, which gives the basic color impression of this layer.

Parameters:value (QVector3D) – New value of the pigment’s color.
vrdFlakeLayer.setPigmentColorSpectrum(value)

Sets the pigment’s spectrum, which gives the basic color impression of this layer.

Parameters:value (vrSpectrum) – New value of the pigment’s spectrum.
vrdFlakeLayer.setPigmentConcentration(value)

Sets the density of pigments by controling how many particles are present in the layer.

Parameters:value (float) – New value for density of pigments.
vrdFlakeLayer.setUseFlipFlop(value)

Uses flakes with a Flip Flop behavior. If true, the Flip Flop Flake Color and Flip Flop Blend attributes become used.

Parameters:value (bool) – State of flakes Flip Flop behavior.