class_visualscriptclassconstant.rst 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptClassConstant.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptClassConstant:
  5. VisualScriptClassConstant
  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. Gets a constant from a given class.
  12. Member Variables
  13. ----------------
  14. .. _class_VisualScriptClassConstant_base_type:
  15. - :ref:`String<class_string>` **base_type** - The constant's parent class.
  16. .. _class_VisualScriptClassConstant_constant:
  17. - :ref:`String<class_string>` **constant** - The constant to return. See the given class for its available constants.
  18. Description
  19. -----------
  20. This node returns a constant from a given class, such as @GlobalScope.TYPE_INT. See the given class' documentation for available constants.
  21. **Input Ports:**
  22. none
  23. **Output Ports:**
  24. - Data (variant): ``value``