mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Allow using MeshLibrary.get_item_preview() in non-editor builds again
This closes #36268.
This commit is contained in:
@@ -84,8 +84,7 @@
|
||||
<argument index="0" name="id" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns a generated item preview (a 3D rendering in isometric perspective).
|
||||
[b]Note:[/b] Since item previews are only generated in an editor context, this function will return an empty [Texture2D] in a running project.
|
||||
When running in the editor, returns a generated item preview (a 3D rendering in isometric perspective). When used in a running project, returns the manually-defined item preview which can be set using [method set_item_preview]. Returns an empty [Texture2D] if no preview was manually set in a running project.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_item_shapes" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user