.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the VisualScriptBasicTypeConstant.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.

.. _class_VisualScriptBasicTypeConstant:

VisualScriptBasicTypeConstant
=============================

**Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`

**Category:** Core

Brief Description
-----------------

A Visual Script node representing a constant from the base types.

Member Functions
----------------

+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>`        | :ref:`get_basic_type<class_VisualScriptBasicTypeConstant_get_basic_type>`  **(** **)** const                                               |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`String<class_string>`  | :ref:`get_basic_type_constant<class_VisualScriptBasicTypeConstant_get_basic_type_constant>`  **(** **)** const                             |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| void                         | :ref:`set_basic_type<class_VisualScriptBasicTypeConstant_set_basic_type>`  **(** :ref:`int<class_int>` name  **)**                         |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
| void                         | :ref:`set_basic_type_constant<class_VisualScriptBasicTypeConstant_set_basic_type_constant>`  **(** :ref:`String<class_string>` name  **)** |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+

Member Variables
----------------

- :ref:`int<class_int>` **basic_type** - The type to get the constant from.
- :ref:`String<class_string>` **constant** - The name of the constant to return.

Description
-----------

A Visual Script node representing a constant from base types, such as Vector3.AXIS_X.

Member Function Description
---------------------------

.. _class_VisualScriptBasicTypeConstant_get_basic_type:

- :ref:`int<class_int>`  **get_basic_type**  **(** **)** const

.. _class_VisualScriptBasicTypeConstant_get_basic_type_constant:

- :ref:`String<class_string>`  **get_basic_type_constant**  **(** **)** const

.. _class_VisualScriptBasicTypeConstant_set_basic_type:

- void  **set_basic_type**  **(** :ref:`int<class_int>` name  **)**

.. _class_VisualScriptBasicTypeConstant_set_basic_type_constant:

- void  **set_basic_type_constant**  **(** :ref:`String<class_string>` name  **)**


