Module visual_script

Procs

proc data(self: VisualScript): Dictionary {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc data=(self: VisualScript; val: Dictionary) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addFunction(self: VisualScript; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasFunction(self: VisualScript; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeFunction(self: VisualScript; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc renameFunction(self: VisualScript; name: string; newName: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setFunctionScroll(self: VisualScript; name: string; ofs: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getFunctionScroll(self: VisualScript; name: string): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addNode(self: VisualScript; funcc: string; id: int64; node: VisualScriptNode;
            position: Vector2 = vec2(0.0, 0.0)) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeNode(self: VisualScript; funcc: string; id: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getFunctionNodeId(self: VisualScript; name: string): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNode(self: VisualScript; funcc: string; id: int64): VisualScriptNode {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc hasNode(self: VisualScript; funcc: string; id: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setNodePosition(self: VisualScript; funcc: string; id: int64; position: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNodePosition(self: VisualScript; funcc: string; id: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sequenceConnect(self: VisualScript; funcc: string; fromNode: int64;
                    fromOutput: int64; toNode: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sequenceDisconnect(self: VisualScript; funcc: string; fromNode: int64;
                       fromOutput: int64; toNode: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasSequenceConnection(self: VisualScript; funcc: string; fromNode: int64;
                          fromOutput: int64; toNode: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dataConnect(self: VisualScript; funcc: string; fromNode: int64; fromPort: int64;
                toNode: int64; toPort: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dataDisconnect(self: VisualScript; funcc: string; fromNode: int64;
                   fromPort: int64; toNode: int64; toPort: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasDataConnection(self: VisualScript; funcc: string; fromNode: int64;
                      fromPort: int64; toNode: int64; toPort: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addVariable(self: VisualScript; name: string;
                defaultValue: Variant = newVariant(); exportt: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasVariable(self: VisualScript; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeVariable(self: VisualScript; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setVariableDefaultValue(self: VisualScript; name: string; value: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getVariableDefaultValue(self: VisualScript; name: string): Variant {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setVariableInfo(self: VisualScript; name: string; value: Dictionary) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getVariableInfo(self: VisualScript; name: string): Dictionary {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setVariableExport(self: VisualScript; name: string; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getVariableExport(self: VisualScript; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc renameVariable(self: VisualScript; name: string; newName: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addCustomSignal(self: VisualScript; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasCustomSignal(self: VisualScript; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalAddArgument(self: VisualScript; name: string; typee: int64;
                            argname: string; index: int64 = -1'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalSetArgumentType(self: VisualScript; name: string; argidx: int64;
                                typee: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalGetArgumentType(self: VisualScript; name: string; argidx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalSetArgumentName(self: VisualScript; name: string; argidx: int64;
                                argname: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalGetArgumentName(self: VisualScript; name: string; argidx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalRemoveArgument(self: VisualScript; name: string; argidx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalGetArgumentCount(self: VisualScript; name: string): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customSignalSwapArgument(self: VisualScript; name: string; argidx: int64;
                             withidx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeCustomSignal(self: VisualScript; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc renameCustomSignal(self: VisualScript; name: string; newName: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setInstanceBaseType(self: VisualScript; typee: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method nodePortsChanged(self: VisualScript; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}