mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user