Sets the script source and function that will handle keyboard input for the scripted draw mode.
int32 SetKeyHandlers( ScriptSource ScriptSource, string KeyHandlerFunction )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<ScriptSource> | ScriptSource | The script source object that contains the script. Typically this will be the global object 'Script', which represents the current script source object. |
string | KeyHandlerFunction | The script function to call with keyboard input. |
None published. Please look for an example in the Simdify Scripting Language code base.