Apple Shake 4 User Manual

Page 595

Advertising
background image

Chapter 21

Paint

595

“FORMAT TOOL MASK

NUMDATA;TIME,TYPE;X;Y;P;X;Y;P;...X;Y;P;TIME,TYPE;X;Y;P;....X;Y;P;
”,

followed by inPoint, outPoint, and so on, up to yOffset.

StrokeData

Type

Function

TOOL

int

Paint = 1

Smudge = 2

Eraser = 3

Reveal = 4

Clone = 5

MASK

float

The active channels on which the paint is applied.

FORMAT

Reserved for future use.

NUMDATA

int

The number of data pieces per point, placed for future
compatibility reasons. This is currently 3—the X,Y position and the
pressure of each point.

TYPE

float

The time the data corresponds to.

TYPE

int

The mode the data corresponds to.

Persist = 0

Frame = 3

Interp = 4

inPoint (Reserved for future use) = 1

outPoint (Reserved for future use) = 2

X;Y;P

float

X, Y position, pressure.

Advertising