|
static proto void | MemoryValidation (bool enable) |
| Switches memory validation (huge slowdown! Use with care only for certain section of code!)
|
|
static proto int | MemoryAllocationCount () |
| Number of allocations of physical memory.
|
|
static proto int | MemoryAllocationKB () |
| Total allocation of physical memory in kilobytes.
|
|
static proto bool | GetCLIParam (string param, out string val) |
| Returns command line argument.
|
|
static proto bool | IsCLIParam (string paramName) |
| Returns whether command line parameter is present.
|
|
static proto string | ImportFromClipboard () |
| Copy text from clipboard (works only on PC)
|
|
static proto void | ExportToClipboard (string text) |
| Set text to clipboard (works only on PC)
|
|
static proto string | GetProfileName () |
|
static proto string | GetMachineName () |
|
static proto int | GetUnixTime () |
| Obtain value of SystemTime as number of seconds since midnight 1970-1-1 UTC.
|
|
static proto void | GetHourMinuteSecond (out int hour, out int minute, out int second) |
| Returns current system time (real world time) in local timezone.
|
|
static proto void | GetHourMinuteSecondUTC (out int hour, out int minute, out int second) |
| Returns current system time (real world time) in UTC.
|
|
static proto void | GetYearMonthDay (out int year, out int month, out int day) |
| Returns current system date (real world date) in local timezone.
|
|
static proto void | GetYearMonthDayUTC (out int year, out int month, out int day) |
| Returns current system date (real world date) in UTC.
|
|
static proto ProfileData | GetProfileData () |
|
static proto int | GetTickCount (int prev=0) |
| Returns number of milliseconds that have elapsed since the game was started.
|
|
static proto string | GetAdapterName () |
|
static proto void | GetNativeResolution (out int width, out int height) |
|
static proto void | GetRenderingResolution (out int width, out int height) |
|
static proto void | GetSupportedResolutions (out notnull array< int > widths, out notnull array< int > heights) |
|
static proto void | MakeScreenshot (string path) |
| Takes screenshot and stores it in a BMP format at specified path.
|
|
static proto void | MakeScreenshotExt (ScreenshotCallback callback, int posX, int posY, int srcWidth, int srcHeight, int dstWidth, int dstHeight) |
| Take screenshot on specified position and size.
|
|
static proto float | GetFPS () |
| Returns actual fps (average in last 10 frames)
|
|
static proto float | GetFrameTimeS () |
| Returns average time a frame took in seconds (average over last 10 frames)
|
|
static proto bool | FindFiles (FindFilesCallback callback, string path, string ext) |
| Use FileIO.FindFiles instead.
|
|
static proto EPlatform | GetPlatform () |
| Return current platform.
|
|
static proto bool | IsConsoleApp () |
| Checks if the app runs in console mode (no rendering, audio or input)
|
|