new CameraEventAggregator
DOC_TBA
Parameters:
Name | Type | Description |
---|---|---|
canvas |
HTMLCanvasElement | DOC_TBA |
moveType |
CameraEventType | DOC_TBA |
moveModifier |
KeyboardEventModifier | DOC_TBA |
Throws:
-
DeveloperError : canvas is required.
-
DeveloperError : moveType is required.
Methods
-
destroy
-
Removes mouse listeners held by this object.
Once an object is destroyed, it should not be used; calling any function other thanisDestroyed
will result in a DeveloperError exception. Therefore, assign the return value (undefined
) to the object as done in the example.Throws:
DeveloperError : This object was destroyed, i.e., destroy() was called.Returns:
Example
handler = handler && handler.destroy();
-
getButtonPressTime
-
DOC_TBA
Returns:
Date DOC_TBA -
getButtonReleaseTime
-
DOC_TBA
Returns:
Date DOC_TBA -
getLastMovement
-
DOC_TBA
Returns:
Object DOC_TBA -
getMovement
-
DOC_TBA
Returns:
Object DOC_TBA -
isButtonDown
-
DOC_TBA
Returns:
Boolean DOC_TBA -
isDestroyed
-
Returns true if this object was destroyed; otherwise, false.
If this object was destroyed, it should not be used; calling any function other thanisDestroyed
will result in a DeveloperError exception.Returns:
Booleantrue
if this object was destroyed; otherwise,false
. -
isMoving
-
DOC_TBA
Returns:
Boolean DOC_TBA