summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorResourcePreviewGenerator.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/EditorResourcePreviewGenerator.xml')
-rw-r--r--doc/classes/EditorResourcePreviewGenerator.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/EditorResourcePreviewGenerator.xml b/doc/classes/EditorResourcePreviewGenerator.xml
index 3dc60b3a98..e69c6489df 100644
--- a/doc/classes/EditorResourcePreviewGenerator.xml
+++ b/doc/classes/EditorResourcePreviewGenerator.xml
@@ -25,7 +25,7 @@
Generate a preview from a given resource with the specified size. This must always be implemented.
Returning an empty texture is an OK way to fail and let another generator take care.
Care must be taken because this function is always called from a thread (not the main thread).
- [param metadata] dictionary can modified to store file-specific metadata that can be used by the editor (like image size, sample length etc.).
+ [param metadata] dictionary can modified to store file-specific metadata that can be used in [method EditorResourceTooltipPlugin._make_tooltip_for_path] (like image size, sample length etc.).
</description>
</method>
<method name="_generate_from_path" qualifiers="virtual const">
@@ -37,7 +37,7 @@
Generate a preview directly from a path with the specified size. Implementing this is optional, as default code will load and call [method _generate].
Returning an empty texture is an OK way to fail and let another generator take care.
Care must be taken because this function is always called from a thread (not the main thread).
- [param metadata] dictionary can modified to store file-specific metadata that can be used by the editor (like image size, sample length etc.).
+ [param metadata] dictionary can modified to store file-specific metadata that can be used in [method EditorResourceTooltipPlugin._make_tooltip_for_path] (like image size, sample length etc.).
</description>
</method>
<method name="_generate_small_preview_automatically" qualifiers="virtual const">