class_phashtranslation.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the PHashTranslation.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_PHashTranslation:
  5. PHashTranslation
  6. ================
  7. **Inherits:** :ref:`Translation<class_Translation>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Optimized translation.
  12. Methods
  13. -------
  14. +------+----------------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`generate<class_PHashTranslation_method_generate>` **(** :ref:`Translation<class_Translation>` from **)** |
  16. +------+----------------------------------------------------------------------------------------------------------------+
  17. Description
  18. -----------
  19. Optimized translation. Uses real-time compressed translations, which results in very small dictionaries.
  20. Method Descriptions
  21. -------------------
  22. .. _class_PHashTranslation_method_generate:
  23. - void **generate** **(** :ref:`Translation<class_Translation>` from **)**
  24. Generates and sets an optimized translation from the given :ref:`Translation<class_Translation>` resource.