:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the VisualShaderNodeIntConstant.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_VisualShaderNodeIntConstant: VisualShaderNodeIntConstant =========================== **Inherits:** :ref:`VisualShaderNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` A scalar integer constant to be used within the visual shader graph. Description ----------- Translated to ``int`` in the shader language. Properties ---------- +-----------------------+----------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`constant` | ``0`` | +-----------------------+----------------------------------------------------------------------+-------+ Property Descriptions --------------------- .. _class_VisualShaderNodeIntConstant_property_constant: - :ref:`int` **constant** +-----------+---------------------+ | *Default* | ``0`` | +-----------+---------------------+ | *Setter* | set_constant(value) | +-----------+---------------------+ | *Getter* | get_constant() | +-----------+---------------------+ An integer constant which represents a state of this node.