VisualScriptNode

A node which is part of a VisualScript.

Not to be confused with Node, which is a part of a SceneTree.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_getDefaultInputValues
Array _getDefaultInputValues()
_setDefaultInputValues
void _setDefaultInputValues(Array values)
getDefaultInputValue
Variant getDefaultInputValue(long port_idx)

Returns the default value of a given port. The default value is used when nothing is connected to the port.

getVisualScript
Ref!VisualScript getVisualScript()

Returns the VisualScript instance the node is bound to.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(VisualScriptNode other)
opEquals
bool opEquals(typeof(null) n)
portsChangedNotify
void portsChangedNotify()

Notify that the node's ports have changed. Usually used in conjunction with VisualScriptCustomNode .

setDefaultInputValue
void setDefaultInputValue(long port_idx, VariantArg1 value)

Change the default value of a given port.

toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

_defaultInputValues
Array _defaultInputValues [@property getter]
Array _defaultInputValues [@property setter]

Static functions

_new
VisualScriptNode _new()

Construct a new instance of VisualScriptNode. Note: use memnew!VisualScriptNode instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta