class_phashtranslation.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.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. Optimized translation.
  10. Description
  11. -----------
  12. Optimized translation. Uses real-time compressed translations, which results in very small dictionaries.
  13. Methods
  14. -------
  15. +------+----------------------------------------------------------------------------------------------------------------+
  16. | void | :ref:`generate<class_PHashTranslation_method_generate>` **(** :ref:`Translation<class_Translation>` from **)** |
  17. +------+----------------------------------------------------------------------------------------------------------------+
  18. Method Descriptions
  19. -------------------
  20. .. _class_PHashTranslation_method_generate:
  21. - void **generate** **(** :ref:`Translation<class_Translation>` from **)**
  22. Generates and sets an optimized translation from the given :ref:`Translation<class_Translation>` resource.
  23. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  24. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  25. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`