class_optimizedtranslation.rst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptimizedTranslation.xml.
  6. .. _class_OptimizedTranslation:
  7. OptimizedTranslation
  8. ====================
  9. **Inherits:** :ref:`Translation<class_Translation>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Optimized translation.
  11. Description
  12. -----------
  13. Optimized translation. Uses real-time compressed translations, which results in very small dictionaries.
  14. Methods
  15. -------
  16. +------+--------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`generate<class_OptimizedTranslation_method_generate>` **(** :ref:`Translation<class_Translation>` from **)** |
  18. +------+--------------------------------------------------------------------------------------------------------------------+
  19. Method Descriptions
  20. -------------------
  21. .. _class_OptimizedTranslation_method_generate:
  22. - void **generate** **(** :ref:`Translation<class_Translation>` from **)**
  23. Generates and sets an optimized translation from the given :ref:`Translation<class_Translation>` resource.
  24. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  25. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  26. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  27. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  28. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  29. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`