Class reference

VisualShaderNodeParameter

Inherits VisualShaderNode

A base type for the parameters within the visual shader graph.

Description

A parameter represents a variable in the shader which is set externally, i.e. from the ShaderMaterial. Parameters are exposed as properties in the ShaderMaterial and can be assigned from the Inspector or from a script.

Properties

String parameter_name = ""

Name of the parameter, by which it can be accessed through the ShaderMaterial properties.

int qualifier = 0

Defines the scope of the parameter.

Constants

QUAL_NONE = 0

Enum: Qualifier

The parameter will be tied to the ShaderMaterial using this shader.

QUAL_GLOBAL = 1

Enum: Qualifier

The parameter will use a global value, defined in Project Settings.

QUAL_INSTANCE = 2

Enum: Qualifier

The parameter will be tied to the node with attached ShaderMaterial using this shader.

QUAL_MAX = 3

Enum: Qualifier

Represents the size of the Qualifier enum.

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.