Creating sliders in macromaker – Apple Shake 4 Tutorials User Manual
Page 241

Chapter 8
Working With Macros
241
•
The “Shake directory” is the
option is checked, the macro is available to all users who open Shake using that
specific binary in that specific directory. You may have permissions problems writing
to this directory.
The “Macro’s output is” pop-up menu tells you which node is the final output node of the
new macro. Shake usually makes a good guess, but you may need to explicitly specify
the node if you have multiple branches selected. In this example, Rotate2 is the proper
output. This is the equivalent to the line, return Rotate2; that you used in the first macro.
Creating Sliders in MacroMaker
The next area of the MacroMaker window contains the list of parameters you can make
available to the user, including the name of the parameter, the default values, and the
slider range.
To expose the Blur1 xPixels parameter and the Rotate2 angle parameter:
1
In the MacroMaker window, open the Blur1 subtree.
2
Change the name of the float xPixels variable to “blur.” (This does not conflict with the
Blur function because of capitalization.)
3
Set the default float xPixels value to 0.
4
Make sure the float xPixels Visibility button is on.
Each visible parameter will appear in the interface as an input or a slider.
5
In the Rotate2 (not Rotate1) subtree, change the name of the float angle variable to
“angle.”
6
Set the default float angle value to 0.