vrdGradingPrimary

class vrdGradingPrimary

(Inherits vrdSceneObject)

Class to access primary grading functionality.

To access the primary grading of a camera or viewpoint, use vrdCameraBaseNode.getGradingPrimary():

cam = vrCameraService.getActiveCamera()
grading = cam.getGradingPrimary()

Functions

vrdGradingPrimary.getContrast()

Returns the contrast.

Returns:The contrast.
Return type:QVector4D
vrdGradingPrimary.getEnabled()

Returns the current grading curve state.

Returns:True if glow is enabled, False otherwise.
Return type:bool
vrdGradingPrimary.getExposure()

Returns the exposure.

Returns:The exposure.
Return type:QVector4D
vrdGradingPrimary.getOffset()

Returns the offset.

Returns:The offset.
Return type:QVector4D
vrdGradingPrimary.getPivot()

Returns the contrast pivot.

Returns:The contrast pivot.
Return type:float
vrdGradingPrimary.getSaturation()

Returns the saturation.

Returns:The saturation.
Return type:float
vrdGradingPrimary.setContrast(contrast)

Sets the contrast.

Parameters:contrast (QVector4D) – The contrast.
vrdGradingPrimary.setEnabled(enabled)

Enables / disables primary grading.

Parameters:enabled (bool) – True to enable, False to disable
vrdGradingPrimary.setExposure(exposure)

Sets the exposure.

Parameters:exposure (QVector4D) – The exposure.
vrdGradingPrimary.setOffset(offset)

Sets the offset.

Parameters:offset (QVector4D) – The offset.
vrdGradingPrimary.setPivot(pivot)

Sets the contrast pivot.

Parameters:pivot (float) – The contrast pivot.
vrdGradingPrimary.setSaturation(saturation)

Sets the saturation.

Parameters:saturation (float) – The saturation.