40 RES_BASE_EXTENSION(
"gt");
58 static void _bind_methods();
62 void create_item(
int p_item);
63 void set_item_name(
int p_item,
const String& p_name);
64 void set_item_mesh(
int p_item,
const Ref<Mesh>& p_mesh);
65 void set_item_shape(
int p_item,
const Ref<Shape>& p_shape);
66 void set_item_preview(
int p_item,
const Ref<Texture>& p_preview);
67 String get_item_name(
int p_item)
const;
68 Ref<Mesh> get_item_mesh(
int p_item)
const;
72 void remove_item(
int p_item);
73 bool has_item(
int p_item)
const;
77 int find_item_name(
const String& p_name)
const;
80 int get_last_unused_item_id()
const;
86 #endif // CUBE_GRID_THEME_H
Definition: mesh_library.h:37
Definition: string_db.h:48
Definition: resource.h:89