A node which is part of a VisualScript.
    public abstract class VisualScriptNode : Resource

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

Inheritance Chain

Derived Classes

Signals

    "ports_changed" ()

Emitted when the available input/output ports are changed.

Properties

    public Collections.Array _DefaultInputValues { get; set; }

Methods

    public object GetDefaultInputValue(int portIdx)

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

    public VisualScript GetVisualScript()

Returns the VisualScript instance the node is bound to.

    public void PortsChangedNotify()

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

    public void SetDefaultInputValue(int portIdx, object value)

Change the default value of a given port.

Tags: