Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

VisualShaderNodeGroupBase

Inherits: VisualShaderNodeResizableBase < VisualShaderNode < Resource < RefCounted < Object

Inherited By: VisualShaderNodeExpression

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

Description

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

Methods

void

add_input_port ( int id, int type, String name )

void

add_output_port ( int id, int type, String name )

void

clear_input_ports ( )

void

clear_output_ports ( )

int

get_free_input_port_id ( ) const

int

get_free_output_port_id ( ) const

int

get_input_port_count ( ) const

String

get_inputs ( ) const

int

get_output_port_count ( ) const

String

get_outputs ( ) const

bool

has_input_port ( int id )