diff options
author | reduz <juan@okamstudio.com> | 2015-05-31 21:13:24 -0300 |
---|---|---|
committer | reduz <juan@okamstudio.com> | 2015-05-31 21:13:24 -0300 |
commit | 07a466f6e6dd28bbb8b917690b634070537f1613 (patch) | |
tree | 0b3f318fa07ee4b3499b798ab0ebe73aa3d48f2c /tools/editor/plugins/editor_preview_plugins.h | |
parent | d5348eebdc7228f7836582cd9bd4ed4f5fd59348 (diff) |
mesh preview
Diffstat (limited to 'tools/editor/plugins/editor_preview_plugins.h')
-rw-r--r-- | tools/editor/plugins/editor_preview_plugins.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/editor/plugins/editor_preview_plugins.h b/tools/editor/plugins/editor_preview_plugins.h index fc42ebfc0e..98071e2a0e 100644 --- a/tools/editor/plugins/editor_preview_plugins.h +++ b/tools/editor/plugins/editor_preview_plugins.h @@ -65,5 +65,24 @@ public: }; +class EditorMeshPreviewPlugin : public EditorResourcePreviewGenerator { + + RID scenario; + RID mesh_instance; + RID viewport; + RID light; + RID light_instance; + RID light2; + RID light_instance2; + RID camera; +public: + + virtual bool handles(const String& p_type) const; + virtual Ref<Texture> generate(const RES& p_from); + + EditorMeshPreviewPlugin(); + ~EditorMeshPreviewPlugin(); +}; + #endif // EDITORPREVIEWPLUGINS_H |