Torque 3D - Script Manual: GuiConsole Class Reference

TorqueScript

Main   Class List   Namespace List   Online

GuiConsole Class Reference
[Core Controls]

The on-screen, in-game console. Calls getLog() to get the on-screen console entries, then renders them as needed. More...

Inheritance diagram for GuiConsole:

List of all members.

Public Member Functions

Callbacks

void onMessageSelected (ConsoleLogEntry::Level level, string message)
 Called when a message in the log is clicked.

Detailed Description

The on-screen, in-game console. Calls getLog() to get the on-screen console entries, then renders them as needed.

Example:
   new GuiConsole()
      {
         //Properties not specific to this control have been omitted from this example.
      };
See also:
GuiControl

Member Function Documentation

void GuiConsole::onMessageSelected ( ConsoleLogEntry::Level  level,
string  message 
)

Called when a message in the log is clicked.

Parameters:
level Diagnostic level of the message.
message Message text.


Copyright © GarageGames, LLC. All Rights Reserved.