mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-18 09:56:50 +01:00
39 lines
655 B
C++
39 lines
655 B
C++
|
#ifndef RUNES_H
|
||
|
#define RUNES_H
|
||
|
|
||
|
|
||
|
class Runes : public MMNode {
|
||
|
GDCLASS(Runes, MMNode);
|
||
|
|
||
|
public:
|
||
|
|
||
|
Ref<Resource> get_image();
|
||
|
void set_image(const Ref<Resource> &val);
|
||
|
|
||
|
Vector2 get_size();
|
||
|
void set_size(const Vector2 &val);
|
||
|
|
||
|
void _init_properties();
|
||
|
void _register_methods(const Variant &mm_graph_node);
|
||
|
void _render(const Variant &material);
|
||
|
Color _get_value_for(const Vector2 &uv, const int pseed);
|
||
|
Vector2 get_size();
|
||
|
void set_size(const Vector2 &val);
|
||
|
|
||
|
Runes();
|
||
|
~Runes();
|
||
|
|
||
|
protected:
|
||
|
static void _bind_methods();
|
||
|
|
||
|
//tool
|
||
|
//export(Resource)
|
||
|
Ref<Resource> image;
|
||
|
//export(Vector2)
|
||
|
Vector2 size = Vector2(4, 4);
|
||
|
//size
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|