Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-10-29 12:48:46 +01:00
parent bbc6682099
commit a72184300f
449 changed files with 14004 additions and 232 deletions

View File

@@ -49,6 +49,8 @@ If this function returns ``true``, the generator will call :ref:`generate<class_
By default, it returns ``false``.
----
.. _class_EditorResourcePreviewGenerator_method_generate:
- :ref:`Texture<class_Texture>` **generate** **(** :ref:`Resource<class_Resource>` from, :ref:`Vector2<class_Vector2>` size **)** virtual
@@ -59,6 +61,8 @@ Returning an empty texture is an OK way to fail and let another generator take c
Care must be taken because this function is always called from a thread (not the main thread).
----
.. _class_EditorResourcePreviewGenerator_method_generate_from_path:
- :ref:`Texture<class_Texture>` **generate_from_path** **(** :ref:`String<class_String>` path, :ref:`Vector2<class_Vector2>` size **)** virtual
@@ -69,6 +73,8 @@ Returning an empty texture is an OK way to fail and let another generator take c
Care must be taken because this function is always called from a thread (not the main thread).
----
.. _class_EditorResourcePreviewGenerator_method_generate_small_preview_automatically:
- :ref:`bool<class_bool>` **generate_small_preview_automatically** **(** **)** virtual
@@ -77,6 +83,8 @@ If this function returns ``true``, the generator will automatically generate the
By default, it returns ``false``.
----
.. _class_EditorResourcePreviewGenerator_method_handles:
- :ref:`bool<class_bool>` **handles** **(** :ref:`String<class_String>` type **)** virtual