mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
44 lines
1.1 KiB
ReStructuredText
44 lines
1.1 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the VisualScriptClassConstant.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_VisualScriptClassConstant:
|
|
|
|
VisualScriptClassConstant
|
|
=========================
|
|
|
|
**Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
Gets a constant from a given class.
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
.. _class_VisualScriptClassConstant_base_type:
|
|
|
|
- :ref:`String<class_string>` **base_type** - The constant's parent class.
|
|
|
|
.. _class_VisualScriptClassConstant_constant:
|
|
|
|
- :ref:`String<class_string>` **constant** - The constant to return. See the given class for its available constants.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
This node returns a constant from a given class, such as @GlobalScope.TYPE_INT. See the given class' documentation for available constants.
|
|
|
|
**Input Ports:**
|
|
|
|
none
|
|
|
|
**Output Ports:**
|
|
|
|
- Data (variant): ``value``
|
|
|