.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_VisualScriptConstant: VisualScriptConstant ==================== **Inherits:** :ref:`VisualScriptNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_constant_type` **(** **)** const | +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`get_constant_value` **(** **)** const | +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_constant_type` **(** :ref:`int` type **)** | +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_constant_value` **(** :ref:`Variant` value **)** | +--------------------------------+----------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`int` **type** - :ref:`Variant` **value** Member Function Description --------------------------- .. _class_VisualScriptConstant_get_constant_type: - :ref:`int` **get_constant_type** **(** **)** const .. _class_VisualScriptConstant_get_constant_value: - :ref:`Variant` **get_constant_value** **(** **)** const .. _class_VisualScriptConstant_set_constant_type: - void **set_constant_type** **(** :ref:`int` type **)** .. _class_VisualScriptConstant_set_constant_value: - void **set_constant_value** **(** :ref:`Variant` value **)**