Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
VisualShaderNodeVec2Parameter
Inherits: VisualShaderNodeParameter < VisualShaderNode < Resource < RefCounted < Object
A Vector2 parameter to be used within the visual shader graph.
Description
Translated to uniform vec2 in the shader language.
Properties
|
||
|
Property Descriptions
Vector2 default_value = Vector2(0, 0) 🔗
A default value to be assigned within the shader.
bool default_value_enabled = false 🔗
Enables usage of the default_value.