Apple Shake 4 User Manual

Page 100

Advertising
background image

100

Chapter 2

Setting a Script’s Global Parameters

rotoPickRadius
This parameter provides the ability to select individual points on a shape that fall
within a user-definable region around the pointer. This allows you to easily select
points that are near the pointer which may be hard to select by clicking them directly.
A slider allows you to define how far, in pixels, the pointer may be from a point to
select it.

rotoTangentCreationRadius
This parameter lets you define the distance you must drag the pointer when drawing a
shape point to turn it into a Bezier curve. Using this control, you can make it easier to
create curves when drawing shapes of different sizes. For example, you could increase
the distance you must drag, to avoid accidentally creating Bezier curves, or you can
decrease the distance you must drag, to make it easier to create Bezier curves when
drawing short shape segments.

gridWidth, gridHeight
Specifies, in pixels, how wide and tall each rectangle of the grid is. The gridHeight is
locked to the gridWidth by default, although this expression can be changed. This
default is 40 x 40 pixels.

gridEnabled
Lets you control the grid’s effect on the nodes that you create. There are two settings:
on and off. This parameter also toggles the background grid pattern in the Node View if
gridVisible is turned on.

gridVisible
Displays the grid as a graphical background in the Node View. This graph is only
displayed when gridEnabled is turned on.

layoutTightness
This parameter affects the Layout Arrangement commands described in “

Arranging

Nodes

” on page 244. It lets you specify how closely nodes should be positioned to one

another when they’re newly created, or whenever you use one of the arrangement
commands. This parameter’s default is 40 pixels.

consoleLineLength
The maximum line length of information displayed in the Console tab. This defaults to
120 characters.

Advertising