Drag[en]gine Script Module DragonScript
1.23
|
Menu fader for interactive main menu. More...
Public Member Functions | |
void | dispose () |
Dispose of widget. More... | |
void | fadeTo (float transparency, float fadeTime) |
Fade to transparency. More... | |
float | getCurTransparency () |
Current transparency. More... | |
float | getElapsed () |
Elapsed fade time. More... | |
float | getFadeTime () |
Fade time. More... | |
InteractiveMainMenu | getMainMenu () |
Interactive main menu. More... | |
float | getTargetTransparency () |
Camera transparency to fade to or null. More... | |
bool | isFading () |
Widget is fading. More... | |
IMMMenuFader | new (InteractiveMainMenu mainMenu) |
Create widget fader for interactive main menu. More... | |
void | setCurTransparency (float transparency) |
Set current transparency. More... | |
void | update (float elapsed) |
Update fading. More... | |
Protected Member Functions | |
void | setMousePointerFade (float transparency) |
Set mouse pointer fade if possible. More... | |
void | updateMenuFade () |
Update menu fade. More... | |
Menu fader for interactive main menu.
Fades menu over black.
void Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.dispose | ( | ) |
Dispose of widget.
void Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.fadeTo | ( | float | transparency, |
float | fadeTime | ||
) |
Fade to transparency.
Starts fading.
float Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.getCurTransparency | ( | ) |
Current transparency.
float Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.getElapsed | ( | ) |
Elapsed fade time.
float Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.getFadeTime | ( | ) |
Fade time.
InteractiveMainMenu Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.getMainMenu | ( | ) |
Interactive main menu.
float Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.getTargetTransparency | ( | ) |
Camera transparency to fade to or null.
bool Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.isFading | ( | ) |
Widget is fading.
IMMMenuFader Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.new | ( | InteractiveMainMenu | mainMenu | ) |
Create widget fader for interactive main menu.
void Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.setCurTransparency | ( | float | transparency | ) |
Set current transparency.
Stops fading if running.
|
protected |
Set mouse pointer fade if possible.
void Dragengine.Gui.MainMenus.Interactive.IMMMenuFader.update | ( | float | elapsed | ) |
Update fading.
|
protected |
Update menu fade.