Difference between revisions of "Paint"
Jump to navigation
Jump to search
Line 69: | Line 69: | ||
|- | |- | ||
|getState(state) | |getState(state) | ||
− | |Returns the value for the [[ | + | |Returns the value for the [[Paint State]]. |
|- | |- | ||
|setState(state, value) | |setState(state, value) | ||
− | |Sets the value for [[ | + | |Sets the value for [[Paint State]] |
|} | |} |
Revision as of 14:48, 20 November 2012
The Paint object is a global object used to interact with the Paint UI while in the Paint Node.
Attributes
Name | Description |
---|---|
align | True if the Clone overlay mode is set to Align. |
alphaSource | The current alpha source used for Obey Alpha. (0=input, 1=output) |
brush | The current brush name. |
brushes | The List of available brush names. (read-only) |
brushSize | The current brush size (diameter in pixels). |
channelMask | The target channel mask as a Color. |
cloneOffset | The current clone offset as a Point3D. |
invertAlpha | True if Invert Alpha is on. |
matchMove | True if Match Move is on. |
opaqueAlpha | True if Opaque Alpha is on. |
onionSkin | True if the Clone overlay mode is on. |
onionSkinMix | The mix value of the Clone overlay. |
opacity | The current brush opacity. |
preset | The current Preset index. |
profileType | The current Brush Profile index (0=Circle, 1=Square) |
transformMode | True if Clone Interactive Transform mode is enabled. |
cloneOffsetModifier | The Modifier used for setting the Clone Offset |
brushEditModifier | The Modifier used for editing the Brush Size. |
Methods
Name | Description |
---|---|
getState(state) | Returns the value for the Paint State. |
setState(state, value) | Sets the value for Paint State |