VisualShaderNodeGroupBase

Base class for a family of nodes with variable amount of input and output ports within the visual shader graph.

Currently, has no direct usage, use the derived classes instead.

Members

Aliases

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

Functions

addInputPort
void addInputPort(long id, long type, String name)

Adds an input port with the specified type (see VisualShaderNode.porttype) and name.

addOutputPort
void addOutputPort(long id, long type, String name)

Adds an output port with the specified type (see VisualShaderNode.porttype) and name.

clearInputPorts
void clearInputPorts()

Removes all previously specified input ports.

clearOutputPorts
void clearOutputPorts()

Removes all previously specified output ports.

getFreeInputPortId
long getFreeInputPortId()

Returns a free input port ID which can be used in addInputPort.

getFreeOutputPortId
long getFreeOutputPortId()

Returns a free output port ID which can be used in addOutputPort.

getInputPortCount
long getInputPortCount()

Returns the number of input ports in use. Alternative for getFreeInputPortId.

getInputs
String getInputs()

Returns a String description of the input ports as a colon-separated list using the format id,type,name; (see addInputPort).

getOutputPortCount
long getOutputPortCount()

Returns the number of output ports in use. Alternative for getFreeOutputPortId.

getOutputs
String getOutputs()

Returns a String description of the output ports as a colon-separated list using the format id,type,name; (see addOutputPort).

getSize
Vector2 getSize()
hasInputPort
bool hasInputPort(long id)

Returns true if the specified input port exists.

hasOutputPort
bool hasOutputPort(long id)

Returns true if the specified output port exists.

isValidPortName
bool isValidPortName(String name)

Returns true if the specified port name does not override an existed port name and is valid within the shader.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(VisualShaderNodeGroupBase other)
opEquals
bool opEquals(typeof(null) n)
removeInputPort
void removeInputPort(long id)

Removes the specified input port.

removeOutputPort
void removeOutputPort(long id)

Removes the specified output port.

setInputPortName
void setInputPortName(long id, String name)

Renames the specified input port.

setInputPortType
void setInputPortType(long id, long type)

Sets the specified input port's type (see VisualShaderNode.porttype).

setInputs
void setInputs(String inputs)

Defines all input ports using a String formatted as a colon-separated list: id,type,name; (see addInputPort).

setOutputPortName
void setOutputPortName(long id, String name)

Renames the specified output port.

setOutputPortType
void setOutputPortType(long id, long type)

Sets the specified output port's type (see VisualShaderNode.porttype).

setOutputs
void setOutputs(String outputs)

Defines all output ports using a String formatted as a colon-separated list: id,type,name; (see addOutputPort).

setSize
void setSize(Vector2 size)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

size
Vector2 size [@property getter]
Vector2 size [@property setter]

The size of the node in the visual shader graph.

Static functions

_new
VisualShaderNodeGroupBase _new()

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