Drag[en]gine Script Module DragonScript
1.23
|
Wrapper interface to simplify access script system parameters. More...
Public Member Functions | |
int | getFPSRate () |
Frame-per-second rate averaged over the last couple of frames. More... | |
ModuleParameter | getParameterAt (int index) |
Module parameter by index. More... | |
int | getParameterCount () |
Number of module parameters. More... | |
ModuleParameter | getParameterNamed (String name) |
Module parameter by name. More... | |
String | getParameterValue (String name) |
Value for named parameter. More... | |
ScrSysParamWrapper | new () |
Create wrapper. More... | |
String | sendCommand (String command) |
Send command. More... | |
void | setParameterValue (String name, String value) |
Set value for named parameter. More... | |
Wrapper interface to simplify access script system parameters.
int Dragengine.Utils.ScrSysParamWrapper.getFPSRate | ( | ) |
Frame-per-second rate averaged over the last couple of frames.
Returns 0 if module is not using a separate thread.
Implements Dragengine.Utils.SysParamWrapper.
ModuleParameter Dragengine.Utils.ScrSysParamWrapper.getParameterAt | ( | int | index | ) |
Module parameter by index.
Implements Dragengine.Utils.SysParamWrapper.
int Dragengine.Utils.ScrSysParamWrapper.getParameterCount | ( | ) |
Number of module parameters.
Implements Dragengine.Utils.SysParamWrapper.
ModuleParameter Dragengine.Utils.ScrSysParamWrapper.getParameterNamed | ( | String | name | ) |
Module parameter by name.
Implements Dragengine.Utils.SysParamWrapper.
String Dragengine.Utils.ScrSysParamWrapper.getParameterValue | ( | String | name | ) |
Value for named parameter.
Implements Dragengine.Utils.SysParamWrapper.
ScrSysParamWrapper Dragengine.Utils.ScrSysParamWrapper.new | ( | ) |
Create wrapper.
String Dragengine.Utils.ScrSysParamWrapper.sendCommand | ( | String | command | ) |
Send command.
Implements Dragengine.Utils.SysParamWrapper.
void Dragengine.Utils.ScrSysParamWrapper.setParameterValue | ( | String | name, |
String | value | ||
) |
Set value for named parameter.
Implements Dragengine.Utils.SysParamWrapper.