mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
ClassDB: Provide the enum name of integer constants
This commit is contained in:
@@ -388,8 +388,8 @@ void Particles2D::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "h_frames", PROPERTY_HINT_RANGE, "1,1024,1"), "set_h_frames", "get_h_frames");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "v_frames", PROPERTY_HINT_RANGE, "1,1024,1"), "set_v_frames", "get_v_frames");
|
||||
|
||||
BIND_CONSTANT(DRAW_ORDER_INDEX);
|
||||
BIND_CONSTANT(DRAW_ORDER_LIFETIME);
|
||||
BIND_ENUM_CONSTANT(DRAW_ORDER_INDEX);
|
||||
BIND_ENUM_CONSTANT(DRAW_ORDER_LIFETIME);
|
||||
}
|
||||
|
||||
Particles2D::Particles2D() {
|
||||
|
||||
Reference in New Issue
Block a user