class_visualscriptbasictypeconstant.rst 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptBasicTypeConstant.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptBasicTypeConstant:
  5. VisualScriptBasicTypeConstant
  6. =============================
  7. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. A Visual Script node representing a constant from the base types.
  12. Properties
  13. ----------
  14. +-----------------------------------------------------+----------------------------------------------------------------------------+
  15. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`basic_type<class_VisualScriptBasicTypeConstant_property_basic_type>` |
  16. +-----------------------------------------------------+----------------------------------------------------------------------------+
  17. | :ref:`String<class_String>` | :ref:`constant<class_VisualScriptBasicTypeConstant_property_constant>` |
  18. +-----------------------------------------------------+----------------------------------------------------------------------------+
  19. Description
  20. -----------
  21. A Visual Script node representing a constant from base types, such as :ref:`Vector3.AXIS_X<class_Vector3_constant_AXIS_X>`.
  22. Property Descriptions
  23. ---------------------
  24. .. _class_VisualScriptBasicTypeConstant_property_basic_type:
  25. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **basic_type**
  26. +----------+-----------------------+
  27. | *Setter* | set_basic_type(value) |
  28. +----------+-----------------------+
  29. | *Getter* | get_basic_type() |
  30. +----------+-----------------------+
  31. The type to get the constant from.
  32. .. _class_VisualScriptBasicTypeConstant_property_constant:
  33. - :ref:`String<class_String>` **constant**
  34. +----------+--------------------------------+
  35. | *Setter* | set_basic_type_constant(value) |
  36. +----------+--------------------------------+
  37. | *Getter* | get_basic_type_constant() |
  38. +----------+--------------------------------+
  39. The name of the constant to return.