vrdColorCorrection¶
-
class
vrdColorCorrection¶
(Inherits vrdSceneObject)
This class is used for the base color correction properties.
The color correction base class.
Summary¶
Functions¶
-
vrdColorCorrection.getBrightness()¶ Returns: Current value of brightness Return type: float
-
vrdColorCorrection.getContrast()¶ Returns: Contrast value Return type: float
-
vrdColorCorrection.getHueShift()¶ Returns: Current hue shift in degrees Return type: float
-
vrdColorCorrection.getSaturation()¶ Returns: Saturation value Return type: float
-
vrdColorCorrection.setBrightness(value)¶ Sets brightness. Default value is 1.0.
Parameters: value (float) – New value of brightness
-
vrdColorCorrection.setContrast(contrast)¶ Shifts the content’s light and dark color values. Default value is 1.0. Higher values create brighter highlights and darker shadows.
Parameters: contrast (float) – New contrast value.
-
vrdColorCorrection.setHueShift(value)¶ Shifts all content colors uniformly through the hue color range. Default value is 0.0.
Parameters: value (float) – Floating value in degrees
-
vrdColorCorrection.setSaturation(saturation)¶ Shifts the content’s color intensity. Default value is 1.0. Higher values produce vivid colors. Lower values produce dull grayer colors.
Parameters: saturation (float) – Saturation