Scripting API

<<ChalkTool Main Index Charcoal>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

ChangeToTarget

Script Name: ChangeToTarget
Name: ChangeToTarget
Library: ToolPaint
Description: Applies value equal to that in foreground material.
Status bar text: Change to Target Brush: Use to apply value (saturation, lightness, hue, color) equal to material
Tool tip text: Change to Target Brush
Undo text: Change to Target Brush
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Brush TipBrushTipParameter RepositoryBrush tip parametersNo
BrushBrushParameter RepositoryBrush settings.No
ModeModeEnumeration (RetouchChangeToTargetModes)ModeNoColor
Primary MaterialPrimaryMaterialEnumeration (MaterialRef)The primary material for the tool action, foreground or background.NoForeground
Foreground MaterialForegroundMaterialParameter RepositoryThe foreground material.Yes
Background MaterialBackgroundMaterialParameter RepositoryThe background material.Yes
StrokeStrokeListThe path of the brush stroke.No0
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
NoRepeat: true
Has Random Seed: true
DisallowNullMaterial: true
ProcessChanges: true
FinalizeTransient: true
 
Resource Attributes: