mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 22:27:15 +01:00
30 lines
631 B
C++
30 lines
631 B
C++
#ifndef MM_SD_SHAPE_POLYGON_H
|
|
#define MM_SD_SHAPE_POLYGON_H
|
|
|
|
#include "../bases/polygon_base.h"
|
|
#include "../mm_node_universal_property.h"
|
|
|
|
class MMSdShapePolygon : public PolygonBase {
|
|
GDCLASS(MMSdShapePolygon, PolygonBase);
|
|
|
|
public:
|
|
Ref<MMNodeUniversalProperty> get_output();
|
|
void set_output(const Ref<MMNodeUniversalProperty> &val);
|
|
|
|
void _init_properties();
|
|
void _register_methods(MMGraphNode *mm_graph_node);
|
|
Variant _get_property_value(const Vector2 &uv);
|
|
|
|
void _polygon_changed();
|
|
|
|
MMSdShapePolygon();
|
|
~MMSdShapePolygon();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
Ref<MMNodeUniversalProperty> output;
|
|
};
|
|
|
|
#endif
|