diff options
Diffstat (limited to 'editor/editor_plugin.h')
-rw-r--r-- | editor/editor_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h index ce75cfd27a..99328f8149 100644 --- a/editor/editor_plugin.h +++ b/editor/editor_plugin.h @@ -61,6 +61,8 @@ protected: static void _bind_methods(); static EditorInterface *singleton; + Array _make_mesh_previews(const Array &p_meshes, int p_preview_size); + public: static EditorInterface *get_singleton() { return singleton; } @@ -86,6 +88,8 @@ public: Error save_scene(); void save_scene_as(const String &p_scene, bool p_with_preview = true); + Vector<Ref<Texture> > make_mesh_previews(const Vector<Ref<Mesh> > &p_meshes, int p_preview_size); + EditorInterface(); }; |