Drag[en]gine Script Module DragonScript Script API  1.0
GraphicSystem Class Reference

Graphic system. More...

Inheritance diagram for GraphicSystem:

Static Public Member Functions

Management
static int getWindowWidth ()
 Width in pixel of render window. More...
 
static int getWindowHeight ()
 Height in pixel of the render window. More...
 
static Point getWindowSize ()
 Size in pixels of render window. More...
 
static void setWindowGeometry (int width, int height, bool fullScreen)
 Set render window geometry. More...
 
static void setWindowTitle (String title)
 Set render window title. More...
 
static CanvasView getPrimaryCanvas ()
 Primary canvas view. More...
 
Parameters
static int getParameterCount ()
 Number of parameters available. More...
 
static ModuleParameter getParameterInfo (int index)
 Parameter information. More...
 
static ModuleParameter getParameterInfo (String name)
 Named parameter information or null if not found. More...
 
static float getParameterValue (String name)
 Parameter value. More...
 
static void setParameterValue (String name, float value)
 Set named parameter value. More...
 
static String sendCommand (String command)
 Send command. More...
 

Detailed Description

Graphic system.

This is a native class. This is a pure static class. The class can not be instantiated

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ getParameterCount()

static int getParameterCount ( )
static

Number of parameters available.

§ getParameterInfo() [1/2]

static ModuleParameter getParameterInfo ( int  index)
static

Parameter information.

Exceptions
EOutOfBoundaryindex less than 0 or greater than or equal to getParameterCount().

§ getParameterInfo() [2/2]

static ModuleParameter getParameterInfo ( String  name)
static

Named parameter information or null if not found.

§ getParameterValue()

static float getParameterValue ( String  name)
static

Parameter value.

Exceptions
EInvalidParamParameter with name not found.

§ getPrimaryCanvas()

static CanvasView getPrimaryCanvas ( )
static

Primary canvas view.

§ getWindowHeight()

static int getWindowHeight ( )
static

Height in pixel of the render window.

§ getWindowSize()

static Point getWindowSize ( )
static

Size in pixels of render window.

§ getWindowWidth()

static int getWindowWidth ( )
static

Width in pixel of render window.

§ sendCommand()

static String sendCommand ( String  command)
static

Send command.

§ setParameterValue()

static void setParameterValue ( String  name,
float  value 
)
static

Set named parameter value.

Exceptions
EInvalidParamParameter with name not found.

§ setWindowGeometry()

static void setWindowGeometry ( int  width,
int  height,
bool  fullScreen 
)
static

Set render window geometry.

§ setWindowTitle()

static void setWindowTitle ( String  title)
static

Set render window title.


The documentation for this class was generated from the following file: