Skip to content

VisualShaderNodeIntConstant

Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

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

Translated to int in the shader language.

Type Name Default
int constant 0

constant

int constant = 0

An integer constant which represents a state of this node.