EdgeScrollManager
Table of contents
class EdgeScrollManager {}
Constructs a new instance of the EdgeScrollManager
class
Parameters
Name | Description |
---|---|
|
|
Properties
editor: Editor
Methods
Update the camera position when the mouse is close to the edge of the screen. Run this on every tick when in a state where edge scrolling is enabled.
updateEdgeScrolling(elapsed: number): void
Parameters
Name | Description |
---|---|
|
|
Returns
void