Go to: Synopsis. Return value. Keywords. Flags. Python examples.
colorManagementConvert([toDisplaySpace=[float, float, float]])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
colorManagementConvert is NOT undoable, NOT queryable, and NOT editable.
This command can be used to convert rendering (a.k.a. working) space color values to display space color values. This is useful if you create custom UI with colors painted to screen, where you need to handle color management yourself. The current view transform set in the Color Management user preferences will be used.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
toDisplaySpace(tds)
|
[float, float, float]
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds import maya.cmds as cmds color = cmds.colorManagementConvert(toDisplaySpace=[0.5, 0.5, 0.5])