MCPcopy
hub / github.com/EngoEngine/engo / EdgeScroller

Struct EdgeScroller

common/camera.go:414–417  ·  view source on GitHub ↗

EdgeScroller is a System that allows for scrolling when the cursor is near the edges of the window.

Source from the content-addressed store, hash-verified

412// EdgeScroller is a System that allows for scrolling when the cursor is near the edges of
413// the window.
414type EdgeScroller struct {
415 ScrollSpeed float32
416 EdgeMargin float32
417}
418
419// Priority implements the ecs.Prioritizer interface.
420func (*EdgeScroller) Priority() int { return EdgeScrollerPriority }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected