SetKeyHandlers Data Member Function

Sets the script source and function that will handle keyboard input for the scripted draw mode.

Prototype

int32 SetKeyHandlers( ScriptSource ScriptSource, string KeyHandlerFunction )

Parameters

Parameter Type Parameter Name Documentation
<ScriptSource>ScriptSourceThe script source object that contains the script. Typically this will be the global object 'Script', which represents the current script source object.
stringKeyHandlerFunctionThe script function to call with keyboard input.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.