Drag[en]gine Script Module DragonScript
1.21
|
Drag[en]gine game engine. More...
Static Public Member Functions | |
Management | |
static float | getElapsedTime () |
Elapsed time since last update. More... | |
static void | resetTimers () |
Resets elapsed time timer. More... | |
static Game | getGame () |
Game object. More... | |
static int | getFPSRate () |
Averaged FPS rate. More... | |
static void | quit () |
Quit game. More... | |
static bool | getEditMode () |
Game is run in edit mode. More... | |
static int | loadingResourceCount () |
Number of loading resources. More... | |
static void | log (String message) |
Log message using engine logger. More... | |
static Dictionary | getScriptModuleStats () |
Script module states as Dictionary. More... | |
static bool | getDefaultEnableGI () |
Default value for EnableGI parameter in cameras. More... | |
static void | setDefaultEnableGI (bool enable) |
Set default value for EnableGI parameter in cameras. More... | |
static String | getCompatibleVersion () |
Compatible script version as set in project files. More... | |
static int | getCompatibleVersionMajor () |
Compatible script version as set in project files. More... | |
static int | getCompatibleVersionMinor () |
Compatible script version as set in project files. More... | |
static int | getCompatibleVersionPatch () |
Compatible script version as set in project files. More... | |
static bool | isCompatibleVersionOlder (int major, int minor) |
Compatible script version is older than given version. More... | |
static bool | isCompatibleVersionNewer (int major, int minor) |
Compatible script version is newer than given version. More... | |
static String | getModuleVersion () |
Module version. More... | |
static int | getModuleVersionMajor () |
Module version. More... | |
static int | getModuleVersionMinor () |
Module version. More... | |
static int | getModuleVersionPatch () |
Module version. More... | |
static bool | isModuleVersionOlder (int major, int minor) |
Module script version is older than given version. More... | |
static bool | isModuleVersionNewer (int major, int minor) |
Module script version is newer than given version. More... | |
static String | getUserLocaleLanguage () |
Get current user locale language. More... | |
static String | getUserLocaleTerritory () |
Get current user locale territory. More... | |
Drag[en]gine game engine.
This is a native class. This is a pure static class. The class can not be instantiated
|
static |
Compatible script version as set in project files.
|
static |
Compatible script version as set in project files.
|
static |
Compatible script version as set in project files.
|
static |
Compatible script version as set in project files.
|
static |
Default value for EnableGI parameter in cameras.
|
static |
Game is run in edit mode.
This can be used by editor applications to allow in-editor game previews if supported.
|
static |
Elapsed time since last update.
|
static |
Averaged FPS rate.
|
static |
Module version.
|
static |
Module version.
|
static |
Module version.
|
static |
Module version.
|
static |
Script module states as Dictionary.
|
static |
Get current user locale language.
Returns language as ISO 639 language code in lower case. If the locale can not be determined "en" is returned.
|
static |
Get current user locale territory.
Returns language as ISO 3166 country code in lower case. If the locale can not be determined or the locale does not contain a country code empty string is returned.
|
static |
Compatible script version is newer than given version.
|
static |
Compatible script version is older than given version.
|
static |
Module script version is newer than given version.
|
static |
Module script version is older than given version.
|
static |
Number of loading resources.
|
static |
Log message using engine logger.
|
static |
Quit game.
Cleans up the game object and shuts down the game engine.
|
static |
Resets elapsed time timer.
Calling this before entering the game for the first time avoids a single time large update value which can result in strange effects.
|
static |
Set default value for EnableGI parameter in cameras.