class_optimizedtranslation.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 OptimizedTranslation.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_OptimizedTranslation:
  6. OptimizedTranslation
  7. ====================
  8. **Inherits:** :ref:`Translation<class_Translation>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :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_OptimizedTranslation_method_generate>` **(** :ref:`Translation<class_Translation>` from **)** |
  17. +------+--------------------------------------------------------------------------------------------------------------------+
  18. Method Descriptions
  19. -------------------
  20. .. _class_OptimizedTranslation_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.)`
  26. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  27. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  28. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`