Up to date

This page is up to date for Godot 4.3. If you still find outdated information, please open an issue.

VisualShaderNodeIntConstant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

A scalar integer constant to be used within the visual shader graph.

Description

Translated to int in the shader language.

Properties

int

constant

0


Property Descriptions

int constant = 0 🔗

  • void set_constant(value: int)

  • int get_constant()

An integer constant which represents a state of this node.