summaryrefslogtreecommitdiff
path: root/doc/classes/EditorResourcePreviewGenerator.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/EditorResourcePreviewGenerator.xml')
-rw-r--r--doc/classes/EditorResourcePreviewGenerator.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/classes/EditorResourcePreviewGenerator.xml b/doc/classes/EditorResourcePreviewGenerator.xml
index 156cc62941..4e61943c8f 100644
--- a/doc/classes/EditorResourcePreviewGenerator.xml
+++ b/doc/classes/EditorResourcePreviewGenerator.xml
@@ -4,7 +4,7 @@
Custom generator of previews.
</brief_description>
<description>
- Custom code to generate previews. Please check "file_dialog/thumbnail_size" in EditorSettings to find out the right size to do previews at.
+ Custom code to generate previews. Please check [code]file_dialog/thumbnail_size[/code] in [EditorSettings] to find out the right size to do previews at.
</description>
<tutorials>
</tutorials>
@@ -13,8 +13,8 @@
<return type="bool">
</return>
<description>
- If this function returns true the generator will call [method generate] or [method generate_from_path] for small previews too.
- By default it returns false.
+ If this function returns [code]true[/code], the generator will call [method generate] or [method generate_from_path] for small previews as well.
+ By default, it returns [code]false[/code].
</description>
</method>
<method name="generate" qualifiers="virtual">
@@ -47,8 +47,8 @@
<return type="bool">
</return>
<description>
- If this function returns true the generator will automatically generate the small previews from the normal preview texture generated by the methods [method generate] or [method generate_from_path].
- By default it returns false.
+ If this function returns [code]true[/code], the generator will automatically generate the small previews from the normal preview texture generated by the methods [method generate] or [method generate_from_path].
+ By default, it returns [code]false[/code].
</description>
</method>
<method name="handles" qualifiers="virtual">
@@ -57,7 +57,7 @@
<argument index="0" name="type" type="String">
</argument>
<description>
- Returns if your generator supports this resource type.
+ Returns [code]true[/code] if your generator supports the resource of type [code]type[/code].
</description>
</method>
</methods>