Adds a Fade-in event to the action-sequence.

If the action has not been started already, FadeIn will automatically fire a Start event.

Syntax:

void fadeIn(float time,float fadetime, float finalfadetime)
Parameters:
time

The time at which this event will be fired. All times are relative to the time at which the script gets started by a script.Start command

fadetime

The time taken for the fade

finalfadetime

(optional) The point within the action at the final fade time.

Remarks: Fading is accomplished by lineary moving the blend percentage. For FadeOut the ending blend value is zero (at which point the action will stop to be visible). The start value is equal to the current blend value as set by BlendVal. For FadeIn the blend value moves from zero to the current blend value

See also:

Class actionSequence |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.