Click or drag to resize

MeshLibrarySetItemPreview Method

Sets a texture to use as the item's preview icon in the editor.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemPreview(
	int id,
	Texture texture
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.MeshLibrary.SetItemPreview(System.Int32,Godot.Texture)"]

texture
Type: GodotTexture

[Missing <param name="texture"/> documentation for "M:Godot.MeshLibrary.SetItemPreview(System.Int32,Godot.Texture)"]

See Also