Fade In/Fade Out
Lets you dissolve into and out of any object. The Fade In/Fade Out behavior affects the
opacity of the object to which it is applied, fading from 0 percent opacity to 100 percent
opacity at the beginning of the object, and then back to 0 percent opacity at the end.
You can eliminate the fade-in or fade-out effect by setting the duration of either to
0 frames.
Note: This behavior is multiplicative. This means that the Fade In and Fade Out parameters
are multiplied by the object’s current opacity to produce the resulting level of transparency.
The Fade In/Fade Out behavior is useful for introducing and removing elements you’re
animating in a project. For example, you can apply the Fade In/Fade Out behavior to text
that moves across the screen to make it fade into existence, and then fade away at the
end of its duration.
Note: Fade In/Fade Out behavior cannot be applied to a camera or light.
Parameters in the Inspector
Fade In Time:
A slider defining the duration, in frames, over which the object fades in
from 0 to 100 percent opacity from the first frame of the object. A duration of 0 frames
results in a straight cut into the object, making it appear instantly.
Fade Out Time:
A slider defining the duration, in frames, over which the object fades
out from 100 to 0 percent opacity from the last frame of the object. A duration of 0 frames
results in a straight cutaway from the object, making it disappear instantly.
Start Offset:
A slider that lets you delay the beginning of the behavior’s effect relative
to the first frame of its position in the Timeline. Adjust this parameter to make the behavior
start later. This parameter value is measured in frames.
End Offset:
A slider that lets you offset the end of the behavior’s effect relative to the
last frame of its position in the Timeline, in frames. Adjust this parameter to make the
behavior stop before the actual end of the behavior in the Timeline. Use this slider to
offset the end of the Fade Out effect from the end of the object.
396
Chapter 9
Using Behaviors
HUD Controls
The HUD lets you control the Fade In and Fade Out durations, equivalent to the Fade In
Time and Fade Out Time parameters in the Behaviors Inspector. Drag anywhere in the
shaded area of the Fade In or the Fade Out ramp to adjust their durations.
Note: Continue dragging beyond the limits of the graphical HUD control to extend the
durations of the Fade In or Fade Out.
Fade out
Fade in