Lua API/System

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

Версия от 20:23, 23 декабря 2010; Alex626 (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Содержание

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