mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
57 lines
2.5 KiB
ReStructuredText
57 lines
2.5 KiB
ReStructuredText
.. 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<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_constant_type<class_VisualScriptConstant_get_constant_type>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Variant<class_variant>` | :ref:`get_constant_value<class_VisualScriptConstant_get_constant_value>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_constant_type<class_VisualScriptConstant_set_constant_type>` **(** :ref:`int<class_int>` type **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_constant_value<class_VisualScriptConstant_set_constant_value>` **(** :ref:`Variant<class_variant>` value **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
- :ref:`int<class_int>` **type**
|
|
- :ref:`Variant<class_variant>` **value**
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_VisualScriptConstant_get_constant_type:
|
|
|
|
- :ref:`int<class_int>` **get_constant_type** **(** **)** const
|
|
|
|
.. _class_VisualScriptConstant_get_constant_value:
|
|
|
|
- :ref:`Variant<class_variant>` **get_constant_value** **(** **)** const
|
|
|
|
.. _class_VisualScriptConstant_set_constant_type:
|
|
|
|
- void **set_constant_type** **(** :ref:`int<class_int>` type **)**
|
|
|
|
.. _class_VisualScriptConstant_set_constant_value:
|
|
|
|
- void **set_constant_value** **(** :ref:`Variant<class_variant>` value **)**
|
|
|
|
|