class_visualscriptconstant.rst 937 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptConstant.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptConstant:
  5. VisualScriptConstant
  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 contant's value.
  12. Member Variables
  13. ----------------
  14. .. _class_VisualScriptConstant_type:
  15. - :ref:`Type<enum_variant_type>` **type** - The constant's type.
  16. .. _class_VisualScriptConstant_value:
  17. - :ref:`Variant<class_variant>` **value** - The constant's value.
  18. Description
  19. -----------
  20. This node returns a constant's value.
  21. **Input Ports:**
  22. none
  23. **Output Ports:**
  24. - Data (variant): ``get``