5

Table Of Contents
Parameters in the Inspector
Wave Shape: A pop-up menu that lets you choose the shape of the oscillations wave.
The choices are Sine (default), Square, Sawtooth, and Triangle.
Sine: The default wave shape, the sine wave creates a smooth animation between
values. For example, if Oscillate is applied to an object’s Opacity parameter, and the
Wave Shape is set to Sine, the object gracefully fades in and out.
Square: The square wave creates abrupt changes in values. For example, when Oscillate
is applied to an objects Opacity parameter, and the Wave Shape is set to Square, the
object flashes on and off (like turning a light switch on and off).
Sawtooth: The Sawtooth wave ramps upward over time and then drops sharply. For
example, when Oscillate is applied to an object’s Opacity parameter, and the Wave
Shape is set to Sawtooth, the object fades in slowly and fades out abruptly (like using
a light dimmer to fade up a light, and then flicking the power switch off).
436 Chapter 9 Using Behaviors