Module scene_tree

Consts

GROUP_CALL_DEFAULT = 0'i64
GROUP_CALL_REVERSE = 1'i64
GROUP_CALL_REALTIME = 2'i64
GROUP_CALL_UNIQUE = 4'i64
STRETCH_MODE_DISABLED = 0'i64
STRETCH_MODE_2D = 1'i64
STRETCH_MODE_VIEWPORT = 2'i64
STRETCH_ASPECT_IGNORE = 0'i64
STRETCH_ASPECT_KEEP = 1'i64
STRETCH_ASPECT_KEEP_WIDTH = 2'i64
STRETCH_ASPECT_KEEP_HEIGHT = 3'i64
STRETCH_ASPECT_EXPAND = 4'i64

Procs

proc debugCollisionsHint(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc debugCollisionsHint=(self: SceneTree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc debugNavigationHint(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc debugNavigationHint=(self: SceneTree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc paused(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc paused=(self: SceneTree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc refuseNewNetworkConnections(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc refuseNewNetworkConnections=(self: SceneTree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc useFontOversampling(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc useFontOversampling=(self: SceneTree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc editedSceneRoot(self: SceneTree): Node {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc editedSceneRoot=(self: SceneTree; val: Node) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc currentScene(self: SceneTree): Node {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc currentScene=(self: SceneTree; val: Node) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc networkPeer(self: SceneTree): NetworkedMultiplayerPeer {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc networkPeer=(self: SceneTree; val: NetworkedMultiplayerPeer) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc root(self: SceneTree): Viewport {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc root=(self: SceneTree; val: Viewport) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc multiplayer(self: SceneTree): MultiplayerAPI {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc multiplayer=(self: SceneTree; val: MultiplayerAPI) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc multiplayerPoll(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc multiplayerPoll=(self: SceneTree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasGroup(self: SceneTree; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setAutoAcceptQuit(self: SceneTree; enabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setQuitOnGoBack(self: SceneTree; enabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setInputAsHandled(self: SceneTree) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isInputHandled(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc createTimer(self: SceneTree; timeSec: float64; pauseModeProcess: bool = true): SceneTreeTimer {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getNodeCount(self: SceneTree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getFrame(self: SceneTree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc quit(self: SceneTree) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setScreenStretch(self: SceneTree; mode: int64; aspect: int64; minsize: Vector2;
                     shrink: float64 = 1.0) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc queueDelete(self: SceneTree; obj: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc callGroupFlags(self: SceneTree; flags: int64; group: string; methodd: string;
                   variantArgs: varargs[Variant]): Variant {.
gcsafe, locks: 0, raises: [CallError, ValueError], tags: []
.}
proc notifyGroupFlags(self: SceneTree; callFlags: int64; group: string;
                     notification: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setGroupFlags(self: SceneTree; callFlags: int64; group: string; property: string;
                  value: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc callGroup(self: SceneTree; group: string; methodd: string;
              variantArgs: varargs[Variant]): Variant {.
gcsafe, locks: 0, raises: [CallError, ValueError], tags: []
.}
proc notifyGroup(self: SceneTree; group: string; notification: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setGroup(self: SceneTree; group: string; property: string; value: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNodesInGroup(self: SceneTree; group: string): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc changeSceneImpl(self: SceneTree; path: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc changeSceneTo(self: SceneTree; packedScene: PackedScene): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc reloadCurrentScene(self: SceneTree): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isNetworkServer(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasNetworkPeer(self: SceneTree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNetworkConnectedPeers(self: SceneTree): PoolIntArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getNetworkUniqueId(self: SceneTree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getRpcSenderId(self: SceneTree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method changeScene(self: SceneTree; arg0: Object) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method networkPeerConnected(self: SceneTree; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method networkPeerDisconnected(self: SceneTree; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method connectedToServer(self: SceneTree) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method connectionFailed(self: SceneTree) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method serverDisconnected(self: SceneTree) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}