diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-20 23:54:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 23:54:56 +0200 |
commit | 7969565de731a67e77a3a475de75088d87b36e4f (patch) | |
tree | cff8a4fb587c90a48ff23864c88414e7cb96d2d6 /editor/plugins/material_editor_plugin.h | |
parent | bf88c3c8e8c9afa9d6be5a4a0158f62becdd3486 (diff) | |
parent | d777681882f119cf760a504d86ccdf80df75d250 (diff) |
Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
Create ParticlesMaterialConversionPlugin
Diffstat (limited to 'editor/plugins/material_editor_plugin.h')
-rw-r--r-- | editor/plugins/material_editor_plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/plugins/material_editor_plugin.h b/editor/plugins/material_editor_plugin.h index af9602f944..52c73cb7d8 100644 --- a/editor/plugins/material_editor_plugin.h +++ b/editor/plugins/material_editor_plugin.h @@ -111,4 +111,12 @@ public: virtual Ref<Resource> convert(const Ref<Resource> &p_resource); }; +class ParticlesMaterialConversionPlugin : public EditorResourceConversionPlugin { + GDCLASS(ParticlesMaterialConversionPlugin, EditorResourceConversionPlugin) +public: + virtual String converts_to() const; + virtual bool handles(const Ref<Resource> &p_resource) const; + virtual Ref<Resource> convert(const Ref<Resource> &p_resource); +}; + #endif // MATERIAL_EDITOR_PLUGIN_H |