Class CamHandler
CamHandlers define different types of navigation behaviour. This class is intended to be subclassed.
Defined in: CamHandler.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
invokeKeyDown(event)
|
|
invokeKeyPress(event)
|
|
invokeKeyUp(event)
|
|
invokeMouseDown(event)
|
|
invokeMouseDrag(event, pressedKeys, diffX, diffY)
|
|
invokeMouseMove(event, diffX, diffY)
|
|
invokeMouseUp(event)
|
|
invokeMouseWheel(delta)
|
|
update(time)
|
Method Detail
invokeKeyDown(event)
- Parameters:
- event
invokeKeyPress(event)
- Parameters:
- event
invokeKeyUp(event)
- Parameters:
- event
invokeMouseDown(event)
- Parameters:
- event
invokeMouseDrag(event, pressedKeys, diffX, diffY)
- Parameters:
- event
- pressedKeys
- diffX
- diffY
invokeMouseMove(event, diffX, diffY)
- Parameters:
- event
- diffX
- diffY
invokeMouseUp(event)
- Parameters:
- event
invokeMouseWheel(delta)
- Parameters:
- delta
update(time)
- Parameters:
- time