Drag[en]gine Script Module DragonScript
1.23
|
Graphic system. More...
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 String | getParameterValue (String name) |
Parameter value. More... | |
static void | setParameterValue (String name, String value) |
Set named parameter value. More... | |
static String | sendCommand (String command) |
Send command. More... | |
static int | getFPSRate () |
Frame-per-second rate averaged over the last couple of frames. More... | |
static void | setVRDebugPanelPosition (DVector position, Quaternion orientation) |
Set position and orientation of VR debug panel if graphic module shows one. More... | |
Graphic system.
This is a native class. This is a pure static class. The class can not be instantiated
|
static |
Frame-per-second rate averaged over the last couple of frames.
Returns 0 if module is not using a separate thread.
|
static |
Number of parameters available.
|
static |
Parameter information.
EOutOfBoundary | index less than 0 or greater than or equal to getParameterCount(). |
|
static |
Named parameter information or null if not found.
|
static |
Parameter value.
EInvalidParam | Parameter with name not found. |
|
static |
Primary canvas view.
|
static |
Height in pixel of the render window.
|
static |
Size in pixels of render window.
|
static |
Width in pixel of render window.
|
static |
Send command.
|
static |
Set named parameter value.
EInvalidParam | Parameter with name not found. |
|
static |
Set position and orientation of VR debug panel if graphic module shows one.
The debug panel is usually shown if the user looks at the back of his right hand like looking at a wrist watch. The position is the center of the debug panel with the size determined by the graphic module. The matrix defined by the orientation lines up with the panel like this:
|
static |
Set render window geometry.
|
static |
Set render window title.