vrdAnalyticSettings¶
-
class
vrdAnalyticSettings¶
(Inherits vrdSceneObject)
This class gives access to material settings used in Analytic Rendering mode. See vrdBRDFMaterial.getAnalytic().
Summary¶
- Functions:
- getDiffuseColor() → QVector3D
- getEmissiveColor() → QVector3D
- getGlossyColor() → QVector3D
- getShininess() → float
- getTransparency() → float
- getUseRealisticSettings() → bool
- setDiffuseColor(value)
- setEmissiveColor(value)
- setGlossyColor(value)
- setShininess(value)
- setTransparency(value)
- setUseRealisticSettings(s)
Functions¶
-
vrdAnalyticSettings.getDiffuseColor()¶ Returns: Current diffuse color Return type: QVector3D
-
vrdAnalyticSettings.getEmissiveColor()¶ Gets emissive color.
Returns: Current used emissive color. Return type: QVector3D
-
vrdAnalyticSettings.getGlossyColor()¶ Returns: Current glossy reflection color. Return type: QVector3D
-
vrdAnalyticSettings.getShininess()¶ Gets how sharp or wide the glossy reflection is.
Returns: Current value of the glossy reflection. Return type: float
-
vrdAnalyticSettings.getTransparency()¶ Gets transparency.
Returns: Current used value for transparency. Return type: float
-
vrdAnalyticSettings.getUseRealisticSettings()¶ Returns: If Analytic settings should be synchronized with realistic material settings. Return type: bool
-
vrdAnalyticSettings.setDiffuseColor(value)¶ Sets the diffuse reflection color.
Parameters: value (QVector3D) – New diffuse color.
-
vrdAnalyticSettings.setEmissiveColor(value)¶ Sets emissive color.
Parameters: value (QVector3D) – New emissive color.
-
vrdAnalyticSettings.setGlossyColor(value)¶ Sets the glossy reflection color.
Parameters: value (QVector3D) – New color.
-
vrdAnalyticSettings.setShininess(value)¶ Sets how sharp or wide the glossy reflection is.
Parameters: value (float) – New value of the glossy reflection.
-
vrdAnalyticSettings.setTransparency(value)¶ Sets transparency.
Parameters: value (float) – New value for transparency.
-
vrdAnalyticSettings.setUseRealisticSettings(s)¶ If enabled, synchronizes the Analytic material settings with the Realistic material settings, disabling all custom Analytic settings.
Parameters: s (bool) – New state. Set to False to be able to set custom analytic color values and settings.