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.

VisualShaderNodeVec2Constant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

A Vector2 constant to be used within the visual shader graph.

Description

A constant Vector2, which can be used as an input node.

Properties

Vector2

constant

Vector2(0, 0)


Property Descriptions

Vector2 constant = Vector2(0, 0) 🔗

A Vector2 constant which represents the state of this node.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.