Class vxlViewInteractor
Constructor
Handles the interaction between a camera and a view
Methods
Maps a key code to a function
Parameters:
Type |
Name |
Description |
String
|
key
|
|
Object
|
fn
|
|
Parameters:
Type |
Name |
Description |
vxlCamera
|
c
|
the camera to connect to this interactor
|
Parameters:
Type |
Name |
Description |
vxlView
|
view
|
the view
|
Parameters:
Type |
Name |
Description |
|
flag
|
|
Invokes the function associated with a key code
Parameters:
Type |
Name |
Description |
Object
|
keycode
|
|
Removes a key binding
Parameters:
Type |
Name |
Description |
String
|
key
|
|