Package | feathers.motion |
Class | public class Fade |
Inheritance | Fade ![]() |
See also
Method | Defined By | ||
---|---|---|---|
createCrossfadeTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function [static]
Creates a transition function for a screen navigator that crossfades
the screens. | Fade | ||
createFadeInTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function [static]
Creates a transition function for a screen navigator that fades in
the new screen by animating the `alpha` property from `0.0` to `1.0`,
while the old screen remains fully opaque at a lower depth. | Fade | ||
createFadeOutTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function [static]
Creates a transition function for a screen navigator that fades out
the old screen by animating the `alpha` property from `1.0` to `0.0`,
while the new screen remains fully opaque at a lower depth. | Fade |
createCrossfadeTransition | () | method |
public static function createCrossfadeTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
Creates a transition function for a screen navigator that crossfades the screens. In other words, the old screen fades out, animating the `alpha` property from `1.0` to `0.0`. Simultaneously, the new screen fades in, animating its `alpha` property from `0.0` to `1.0`.
Parameters
duration:Number (default = 0.5 )
| |
ease:Object (default = NaN )
| |
tweenProperties:Object (default = null )
|
Function |
See also
createFadeInTransition | () | method |
public static function createFadeInTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
Creates a transition function for a screen navigator that fades in the new screen by animating the `alpha` property from `0.0` to `1.0`, while the old screen remains fully opaque at a lower depth.
Parameters
duration:Number (default = 0.5 )
| |
ease:Object (default = NaN )
| |
tweenProperties:Object (default = null )
|
Function |
See also
createFadeOutTransition | () | method |
public static function createFadeOutTransition(duration:Number = 0.5, ease:Object, tweenProperties:Object = null):Function
Creates a transition function for a screen navigator that fades out the old screen by animating the `alpha` property from `1.0` to `0.0`, while the new screen remains fully opaque at a lower depth.
Parameters
duration:Number (default = 0.5 )
| |
ease:Object (default = NaN )
| |
tweenProperties:Object (default = null )
|
Function |
See also