github_url: | hide |
---|
Inherits: :ref:`VisualShaderNode<class_VisualShaderNode>` < :ref:`Resource<class_Resource>` < :ref:`Reference<class_Reference>` < :ref:`Object<class_Object>`
A scalar integer constant to be used within the visual shader graph.
Translated to int
in the shader language.
:ref:`int<class_int>` | :ref:`constant<class_VisualShaderNodeIntConstant_property_constant>` | 0 |
- :ref:`int<class_int>` constant
Default | 0 |
Setter | set_constant(value) |
Getter | get_constant() |
An integer constant which represents a state of this node.