A library of meshes. Contains a list of [Mesh] resources, each with a name and ID. Each item can also include collision and navigation shapes. This resource is used in [GridMap].
</description>
<tutorials>
<linktitle="3D Kinematic Character Demo">https://godotengine.org/asset-library/asset/126</link>
Returns the transform applied to the item's navigation mesh.
</description>
</method>
<methodname="get_item_preview"qualifiers="const">
<returntype="Texture"/>
<argumentindex="0"name="id"type="int"/>
<description>
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 [Texture] if no preview was manually set in a running project.
</description>
</method>
<methodname="get_item_shapes"qualifiers="const">
<returntype="Array"/>
<argumentindex="0"name="id"type="int"/>
<description>
Returns an item's collision shapes.
The array consists of each [Shape] followed by its [Transform].
Sets the transform to apply to the item's navigation mesh.
</description>
</method>
<methodname="set_item_preview">
<returntype="void"/>
<argumentindex="0"name="id"type="int"/>
<argumentindex="1"name="texture"type="Texture"/>
<description>
Sets a texture to use as the item's preview icon in the editor.
</description>
</method>
<methodname="set_item_shapes">
<returntype="void"/>
<argumentindex="0"name="id"type="int"/>
<argumentindex="1"name="shapes"type="Array"/>
<description>
Sets an item's collision shapes.
The array should consist of [Shape] objects, each followed by a [Transform] that will be applied to it. For shapes that should not have a transform, use [constant Transform.IDENTITY].