Files
godot-docs/classes/class_phashtranslation.rst
2018-11-20 09:35:49 +01:00

40 lines
1.3 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the PHashTranslation.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_PHashTranslation:
PHashTranslation
================
**Inherits:** :ref:`Translation<class_Translation>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
-----------------
Optimized translation.
Methods
-------
+-------+---------------------------------------------------------------------------------------------------------+
| void | :ref:`generate<class_PHashTranslation_generate>` **(** :ref:`Translation<class_Translation>` from **)** |
+-------+---------------------------------------------------------------------------------------------------------+
Description
-----------
Optimized translation. Uses real-time compressed translations, which results in very small dictionaries.
Method Descriptions
-------------------
.. _class_PHashTranslation_generate:
- void **generate** **(** :ref:`Translation<class_Translation>` from **)**
Generates and sets an optimized translation from the given :ref:`Translation<class_Translation>` resource.