Apple Shake 4 User Manual

Page 360

Advertising
background image

360

Chapter 14

Customizing Shake

Setting Colors for the Nodes in the Node View

In the ui directory:

nuiSetMultipleObjectsColor(

nodeRed, nodeGreen, nodeBlue,
textRed, textGreen, textBlue,

“DisplaceX”,
“IDisplace”,
“PinCushion”,
“Randomize”,
“Turbulate”,
“Twirl”,
“WarpX”

);

This command assigns colors to nodes in the Node View. The nodeRed, green, etc., and
textRed, green, etc., are supposed to be float values. When coloring the nodes, keep in
mind that the default artwork is a medium gray, so you can have numbers above 1 for
the node color parameters to multiply it up.

Advertising