VisualScriptCustomNode

A scripted Visual Script node.

A custom Visual Script node which can be scripted in powerful ways.

Members

Aliases

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

Enums

Constants
enum Constants
StartMode
enum StartMode

Functions

_getCaption
String _getCaption()

Return the node's title.

_getCategory
String _getCategory()

Return the node's category.

_getInputValuePortCount
long _getInputValuePortCount()

Return the count of input value ports.

_getInputValuePortName
String _getInputValuePortName(long idx)

Return the specified input port's name.

_getInputValuePortType
long _getInputValuePortType(long idx)

Return the specified input port's type. See the Variant.type values.

_getOutputSequencePortCount
long _getOutputSequencePortCount()

Return the amount of output sequence ports.

_getOutputSequencePortText
String _getOutputSequencePortText(long idx)

Return the specified sequence output's name.

_getOutputValuePortCount
long _getOutputValuePortCount()

Return the amount of output value ports.

_getOutputValuePortName
String _getOutputValuePortName(long idx)

Return the specified output's name.

_getOutputValuePortType
long _getOutputValuePortType(long idx)

Return the specified output's type. See the Variant.type values.

_getText
String _getText()

Return the custom node's text, which is shown right next to the input sequence port (if there is none, on the place that is usually taken by it).

_getWorkingMemorySize
long _getWorkingMemorySize()

Return the size of the custom node's working memory. See _step for more details.

_hasInputSequencePort
bool _hasInputSequencePort()

Return whether the custom node has an input sequence port.

_scriptChanged
void _scriptChanged()
_step
Variant _step(Array inputs, Array outputs, long start_mode, Array working_mem)

Execute the custom node's logic, returning the index of the output sequence port to use or a String when there is an error. The inputs array contains the values of the input ports. outputs is an array whose indices should be set to the respective outputs. The start_mode is usually constant START_MODE_BEGIN_SEQUENCE, unless you have used the STEP_* constants. working_mem is an array which can be used to persist information between runs of the custom node. When returning, you can mask the returned value with one of the STEP_* constants.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(VisualScriptCustomNode other)
opEquals
bool opEquals(typeof(null) n)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
VisualScriptCustomNode _new()

Construct a new instance of VisualScriptCustomNode. Note: use memnew!VisualScriptCustomNode 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