EdgeScrollManager
See source codeTable of contents
class EdgeScrollManager {}
Constructor
Constructs a new instance of the EdgeScrollManager
class
Parameters
Name | Description |
---|---|
|
Properties
editor
editor: Editor
Methods
updateEdgeScrolling()
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
Prev
Edge2dNext
Editor