| SetFade
Sets the blending method used during fades.
bSuccess = myZoom.SetFade( Blending_Mode )
Return value
TRUE if the mode was set successfully, otherwise FALSE.
Parameters
- Blending_Mode
Pointer to a blending function; This can be one of your own (takes a value from 0 to 1 and returns a value from 0 to 255) or one of the following:
- Blending_Off
No blending used
- Blending_Linear
Linear blending used (default)
- Blending_Square
Blending amount related to the square of the time
- Blending_Root
Blending amount related to the square root of the time
- Blending_Sine
Starts and ends solid
- Blending_Log
Logarithmic rise in opacity
- Blending_Inverse
Not sure what this does
- Blending_Smooth
More complex version of linear. Gives a more natural result.
- Blending_Power
Interesting blending based on the square of the time
- Blending_Sine2
Again, more interesting, based on the sine of the time
- Blending_Electric
Slow flashing which gets faster towards the end of the fade
- Blending_Bounce
Blending "bounces" through the fade
Comments
For more details on creating your own fade functions, see Smooth:Creation.
See also
Smooth:Creation
Zoom:GetFade
JAM © 2005 no one in particular Project started by David Evans in 2005 | |