class_phashtranslation.rst 1.3 KB

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