vrdGradingLut¶
-
class
vrdGradingLut¶
(Inherits vrdSceneObject)
Class to access primary grading functionality.
To access the primary grading of a camera or viewpoint, use vrdCameraBaseNode.getGradingLut():
cam = vrCameraService.getActiveCamera()
grading = cam.getGradingLut()
Summary¶
Functions¶
-
vrdGradingLut.getEnabled()¶ Returns: True if LUT grading is enabled, False otherwise. Return type: bool
-
vrdGradingLut.getLut()¶ Returns: The LUT as a string. Return type: string
-
vrdGradingLut.getLutFilename()¶ Returns the lut file name.
Returns: Name of the lut file Return type: string
-
vrdGradingLut.getLutFolder()¶ Returns the folder to search for luts.
Returns: Name of the lut search folder Return type: string
-
vrdGradingLut.getLutSpace()¶ Returns the log space the LUT is applied to.
Returns: The LUT space currently used Return type: vrCameraTypes.GradingLogSpace
-
vrdGradingLut.getLutWeight()¶ Returns the weight the LUT is applied with.
Returns: float The LUT weight currently used Return type: float
-
vrdGradingLut.loadLut(fileName)¶ Loads a LUT from a file.
Parameters: fileName (string) – The file name containing the LUT. Returns: True if loading was successful, False otherwise. Return type: bool
-
vrdGradingLut.saveLut(fileName)¶ Saves a LUT to a file.
Parameters: fileName (string) – The file name to use. Returns: True if saving was successful, False otherwise. Return type: bool
-
vrdGradingLut.setEnabled(enabled)¶ Enables / disables LUT grading.
Parameters: enabled (bool) – True to enable, False to disable
-
vrdGradingLut.setLutSpace(logSpace)¶ Sets the log space the LUT is applied to.
Parameters: logSpace (vrCameraTypes.GradingLogSpace) – The log space to use
-
vrdGradingLut.setLutWeight(weight)¶ Sets the weight the LUT is applied with.
Parameters: weight (float) – The weight to apply the LUT with