MeshLibraryGetItemPreview Method |
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 SetItemPreview(Int32, Texture). Returns an empty Texture if no preview was manually set in a running project.
Namespace: Godot
public Texture GetItemPreview( int id )
[Missing <param name="id"/> documentation for "M:Godot.MeshLibrary.GetItemPreview(System.Int32)"]
[Missing <returns> documentation for "M:Godot.MeshLibrary.GetItemPreview(System.Int32)"]