2015-02-18 23:39:44 +01:00
|
|
|
#ifndef CANVASMODULATE_H
|
|
|
|
#define CANVASMODULATE_H
|
|
|
|
|
|
|
|
#include "scene/2d/node_2d.h"
|
|
|
|
|
|
|
|
class CanvasModulate : public Node2D {
|
|
|
|
|
|
|
|
OBJ_TYPE(CanvasModulate,Node2D);
|
|
|
|
|
|
|
|
Color color;
|
|
|
|
protected:
|
|
|
|
void _notification(int p_what);
|
|
|
|
static void _bind_methods();
|
|
|
|
public:
|
|
|
|
|
|
|
|
void set_color(const Color& p_color);
|
|
|
|
Color get_color() const;
|
|
|
|
|
2016-05-17 23:47:08 +02:00
|
|
|
String get_configuration_warning() const;
|
2016-05-17 23:27:15 +02:00
|
|
|
|
2015-02-18 23:39:44 +01:00
|
|
|
CanvasModulate();
|
|
|
|
~CanvasModulate();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CANVASMODULATE_H
|