class_variant.rst 621 B

12345678910111213141516171819202122
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the Variant.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_Variant:
  5. Variant
  6. =======
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. The most important data type in Godot.
  11. Description
  12. -----------
  13. A Variant takes up only 20 bytes and can store almost any engine datatype inside of it. Variants are rarely used to hold information for long periods of time, instead they are used mainly for communication, editing, serialization and moving data around.