summaryrefslogtreecommitdiffstats
path: root/editor/spatial_editor_gizmos.h
diff options
context:
space:
mode:
authorCameron Reikes <cameronreikes@gmail.com>2019-08-07 23:18:09 -0700
committerCameron Reikes <cameronreikes@gmail.com>2019-08-08 16:28:01 -0700
commit345fcb96a2035fd7d6d72632560b2f874a800a02 (patch)
tree50579f9ded016207d8e2fa5ef9db1be6e79139d9 /editor/spatial_editor_gizmos.h
parente37e71d961ed999720cc00e05a3b60d68259ac59 (diff)
downloadredot-engine-345fcb96a2035fd7d6d72632560b2f874a800a02.tar.gz
Add particles icon to CPUParticles
Diffstat (limited to 'editor/spatial_editor_gizmos.h')
-rw-r--r--editor/spatial_editor_gizmos.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/editor/spatial_editor_gizmos.h b/editor/spatial_editor_gizmos.h
index 3661df4bad..317ea0c570 100644
--- a/editor/spatial_editor_gizmos.h
+++ b/editor/spatial_editor_gizmos.h
@@ -249,6 +249,18 @@ public:
VisibilityNotifierGizmoPlugin();
};
+class CPUParticlesGizmoPlugin : public EditorSpatialGizmoPlugin {
+ GDCLASS(CPUParticlesGizmoPlugin, EditorSpatialGizmoPlugin);
+
+public:
+ bool has_gizmo(Spatial *p_spatial);
+ String get_name() const;
+ int get_priority() const;
+ bool is_selectable_when_hidden() const;
+ void redraw(EditorSpatialGizmo *p_gizmo);
+ CPUParticlesGizmoPlugin();
+};
+
class ParticlesGizmoPlugin : public EditorSpatialGizmoPlugin {
GDCLASS(ParticlesGizmoPlugin, EditorSpatialGizmoPlugin);