VisualShaderNodeParameter

Inherits: VisualShaderNode < Resource < RefCounted < Object

Inherited By: VisualShaderNodeBooleanParameter, VisualShaderNodeColorParameter, VisualShaderNodeFloatParameter, VisualShaderNodeIntParameter, VisualShaderNodeTextureParameter, VisualShaderNodeTransformParameter, VisualShaderNodeVec2Parameter, VisualShaderNodeVec3Parameter, VisualShaderNodeVec4Parameter

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

""

Qualifier

qualifier

0

Enumerations

enum Qualifier:

  • QUAL_NONE = 0

  • QUAL_GLOBAL = 1

  • QUAL_INSTANCE = 2

  • QUAL_MAX = 3 --- Represents the size of the Qualifier enum.

Property Descriptions

Default

""

Setter

set_parameter_name(value)

Getter

get_parameter_name()

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


Default

0

Setter

set_qualifier(value)

Getter

get_qualifier()

There is currently no description for this property. Please help us by contributing one!