Module camera_2d

Consts

ANCHOR_MODE_FIXED_TOP_LEFT = 0'i64
ANCHOR_MODE_DRAG_CENTER = 1'i64

Procs

proc offset(self: Camera2D): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offset=(self: Camera2D; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorMode(self: Camera2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorMode=(self: Camera2D; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotating(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rotating=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc current(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc current=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc zoom(self: Camera2D): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc zoom=(self: Camera2D; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customViewport(self: Camera2D): Node {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc customViewport=(self: Camera2D; val: Node) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitLeft(self: Camera2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitLeft=(self: Camera2D; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitTop(self: Camera2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitTop=(self: Camera2D; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitRight(self: Camera2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitRight=(self: Camera2D; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitBottom(self: Camera2D): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitBottom=(self: Camera2D; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitSmoothed(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc limitSmoothed=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginHEnabled(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginHEnabled=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginVEnabled(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginVEnabled=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc smoothingEnabled(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc smoothingEnabled=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc smoothingSpeed(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc smoothingSpeed=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offsetV(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offsetV=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offsetH(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offsetH=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginLeft(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginLeft=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginTop(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginTop=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginRight(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginRight=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginBottom(self: Camera2D): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragMarginBottom=(self: Camera2D; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorDrawScreen(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorDrawScreen=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorDrawLimits(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorDrawLimits=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorDrawDragMargin(self: Camera2D): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editorDrawDragMargin=(self: Camera2D; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc makeCurrentImpl(self: Camera2D) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearCurrent(self: Camera2D) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCameraPosition(self: Camera2D): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCameraScreenCenter(self: Camera2D): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc forceUpdateScroll(self: Camera2D) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc resetSmoothing(self: Camera2D) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc align(self: Camera2D) {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method makeCurrent(self: Camera2D; arg0: Object) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method updateScroll(self: Camera2D) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method setOldSmoothing(self: Camera2D; followSmoothing: float64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}