Lua API/System

Материал из CryWiki Russia

(Различия между версиями)
Перейти к: навигация, поиск
Alex626 (Обсуждение | вклад)
(Новая страница: «=== Overview === These Lua functions are in the '''System''' table. For example, the '''Log''' function would be invoked like this: System.Log("logging this messa...»)
Следующая правка →

Версия 20:23, 23 декабря 2010

Содержание

Overview

These Lua functions are in the System table. For example, the Log function would be invoked like this:

System.Log("logging this message");


Configuration

File

Surface

Renderer

Screen

HDR

2D Drawing

  • DrawLabelImage
  • DrawLabel
  • ScreenToTexture
  • DrawLine
  • Draw2DLine
  • DrawText
  • DrawImage
  • DrawImageColor
  • DrawImageColorCoords
  • DrawImageCoords
  • DrawRectShader
  • DrawTriStrip

Screen Effects

Time

  • GetCurrTime
  • GetCurrAsyncTime
  • GetFrameTime
  • GetOSTime
  • GetLocalOSTime

Debugging

Console

Log

These logging functions are subject to the log verbosity level.

Statistics

  • DumpMemoryCoverage
  • DumpMemStats
  • DumpMMStats
  • DumpWinHeaps
  • DebugStats
  • GetSystemMem
  • GetVideoMem

View

Entity

Environment

Terrain

Sky

Fog

Wind

Water

  • EnableOceanRendering

Input