User Manual

Table Of Contents
To add the checkbox, run UserControls again, but this time instead of selecting an
existing ID, we’ll type Centered into the Name. This will set the name and the ID of our
input to Centered. The Type is set to Number, and the Page is set to Controls. Now in
the Type Attributes, set the Input Ctrl to be CheckboxControl. Press OK, and now we
have our checkbox. To make the new control affect the Type, add a SimpleExpression
to the Type:
iif(Centered==1, 2, 0).
Once that’s done, we can use the UserControls to hide the Type control.
To make a new MultiButton, run the UserControl script, and add a new control ID,
TypeNew. You can set the Name to be Type, as the Names do not need to be unique,
just the IDs. Set the Type to Number, the Page to Controls, and the Input Ctrl to
MultiButtonControl. In the Input Ctrl attributes, we can enter the names of our buttons.
Let’s do Linear and Centered. Type them in and hit Add for each. Press OK, and we
have our new buttons with the unneeded options removed. To make this new control
affect the original Type, add a SimpleExpression to the Type:
iif(TypeNew==0, 0, 2).
Once that’s done, we can use the UserControls to hide the original Type control.
Directional Blurs with UserControls applied.
Chapter – 59 Editing Parameters in the Inspector 1193