Script
|
#include <dtScript.h>
Public Slots | |
void | setCurrentArt (int) |
sets the current art to be one of the following : underlayArt, colourArt, lineArt or overlayArt | |
bool | setCurrentDrawingFromColumnName (String columnName, int frame=1) |
sets the current drawing to be from column columnName at frame frame | |
bool | setCurrentDrawingFromNodeName (String nodeName, int frame=1) |
sets the current drawing to be from node nodeName at frame frame | |
void | convertPencilToBrush (int art=LineArtMask, DrawingToolParams *params=0) |
converts the selected pencil lines in layer of the current drawing using params | |
void | extractCenterline (int srcArt=LineArtMask, int dstArt=ColourArtMask, DrawingToolParams *params=0) |
extracts the centreline from srcLayer and puts the extracted line in dstLayer using params. | |
void | computeBreakingTriangles (DrawingToolParams *params=0) |
computes the breaking triangles of the current layer using params. | |
Properties | |
int | underlayArt |
readonly property - returns underlayArt mask | |
int | colourArt |
readonly property - returns colourArt mask | |
int | lineArt |
readonly property - returns lineArt mask | |
int | overlayArt |
readonly property - returns overlayArt mask | |
int | allArts |
readonly property - returns mask for all 4 art layers | |
*With the drawing functions, you can call some functions on the current drawing to modify it in some ways.
You can use it in Script Editor only.
|
slot |
computes the breaking triangles of the current layer using params.
|
slot |
converts the selected pencil lines in layer of the current drawing using params
|
slot |
extracts the centreline from srcLayer and puts the extracted line in dstLayer using params.
|
slot |
sets the current art to be one of the following : underlayArt, colourArt, lineArt or overlayArt
|
slot |
sets the current drawing to be from column columnName at frame frame
|
slot |
sets the current drawing to be from node nodeName at frame frame
|
read |
readonly property - returns mask for all 4 art layers
|
read |
readonly property - returns colourArt mask
|
read |
readonly property - returns lineArt mask
|
read |
readonly property - returns overlayArt mask
|
read |
readonly property - returns underlayArt mask