Struct VisualScriptNode

A node which is part of a VisualScript.

struct VisualScriptNode ;

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

Properties

NameTypeDescription
_defaultInputValues[get, set] Array

Methods

NameDescription
_getDefaultInputValues
_setDefaultInputValues
getDefaultInputValue Returns the default value of a given port. The default value is used when nothing is connected to the port.
getVisualScript Returns the VisualScript instance the node is bound to.
portsChangedNotify Notify that the node's ports have changed. Usually used in conjunction with VisualScriptCustomNode .
setDefaultInputValue Change the default value of a given port.