pandemonium_engine/modules/material_maker/nodes/pattern/runes.h

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