Class reference

VisualShaderNodeInput

Inherits VisualShaderNode

Represents the input shader parameter within the visual shader graph.

Description

Gives access to input variables (built-ins) available for the shader. See the shading reference for the list of available built-ins for each shader type (check Tutorials section for link).

Properties

String input_name = "[None]"

One of the several input constants in lower-case style like: "vertex" (VERTEX) or "point_size" (POINT_SIZE).

Methods

String get_input_real_name() const

Returns a translated name of the current constant in the Redot Shader Language. E.g. "ALBEDO" if the input_name equal to "albedo".

Signals

input_type_changed()

Emitted when input is changed via input_name.

Tutorials

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.