Class: AxHtmlCanvasInputDevice

AxHtmlCanvasInputDevice()

new AxHtmlCanvasInputDevice()

Create a new AxHtmlCanvasInputDevice. This input device uses an Html Canvas element to obtain user input from
Source:

Methods

SetContext(context)

Sets the context for the input device
Parameters:
Name Type Description
context Axis The instance of Axis, to which the input device will apply
Source:

SetSpecialKeyState(key, eventArgs, state)

Sets keys which are acquired in a special way. These keys are the Left and Right of Shift, Control and Alt Passing a non-special state key results in no action For internal usage
Parameters:
Name Type Description
key Integer The keycode for which to set special state
eventArgs type Event arguments, as passed to the event handler
state Boolean True for key state down, false for key state up
Source:

Update()

Updates the device. This method is called continuously on each rendering iteration
Source:

Documentation generated by JSDoc 3.5.3 on Wed Jan 17 2018 17:06:57 GMT+0200 (FLE Standard Time)