Apple Shake 4 User Manual

Page 362

Advertising
background image

362

Chapter 14

Customizing Shake

Setting Colors for Groups in the Node View

In the ui directory:

nuiSetObjectColor(“Group”, .75, .75, .75);

This sets the color of collapsed groups. If you set them to 1, the group takes on the
color set in the Group’s color setting:

nuiSetObjectColor(“Group”, 1., 1., 1.);

Setting Colors for the Curves in the Editor

In the ui directory:

gui.color.curveDef = 0x658a61;
gui.color.curveDefFoc = 0xcccc26;
gui.color.curveDefSel = 0xcccc26;
gui.color.curveDefFocSel = 0xffff26;
//Curves starting with ’r’ or ’R’
gui.color.curveR = 0xa74044;
gui.color.curveRFoc = 0xff0000;
gui.color.curveRSel = 0xff0000;
gui.color.curveRFocSel = 0xff8888;
//Curves starting with ’g’ or ’G’
gui.color.curveG = 0x8de48d;

Advertising