mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 05:19:50 +01:00
Bound the get_paint_project helper.
This commit is contained in:
parent
bf15088dc7
commit
9c2d0599ea
@ -51,4 +51,6 @@ void PaintNode::_bind_methods() {
|
|||||||
ClassDB::bind_method(D_METHOD("get_size"), &PaintNode::get_size);
|
ClassDB::bind_method(D_METHOD("get_size"), &PaintNode::get_size);
|
||||||
ClassDB::bind_method(D_METHOD("set_size", "size"), &PaintNode::set_size);
|
ClassDB::bind_method(D_METHOD("set_size", "size"), &PaintNode::set_size);
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2I, "size"), "set_size", "get_size");
|
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2I, "size"), "set_size", "get_size");
|
||||||
|
|
||||||
|
ClassDB::bind_method(D_METHOD("get_paint_project"), &PaintNode::get_paint_project);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user