summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorResourcePreviewGenerator.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-12 20:11:37 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-12 20:11:37 +0200
commit3be56afa2738da2d2b8e9dba4f698bd04d9f5fc8 (patch)
treea8ccaa66e78d2f63b582ad38171c00fd2ae62a2c /doc/classes/EditorResourcePreviewGenerator.xml
parent20ed51a9129f97bb8d001262155fb3ccfc1e3c89 (diff)
parent27dccf1b5e4ffe2f499407026f0b789491335582 (diff)
downloadredot-engine-3be56afa2738da2d2b8e9dba4f698bd04d9f5fc8.tar.gz
Merge pull request #63263 from KoBeWi/power_tooltips
Enhance filesystem dock tooltips
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">