mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
ClassDB: Provide the enum name of integer constants
This commit is contained in:
@@ -252,8 +252,8 @@ void ReflectionProbe::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "interior_ambient_energy", PROPERTY_HINT_RANGE, "0,16,0.01"), "set_interior_ambient_energy", "get_interior_ambient_energy");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "interior_ambient_contrib", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_interior_ambient_probe_contribution", "get_interior_ambient_probe_contribution");
|
||||
|
||||
BIND_CONSTANT(UPDATE_ONCE);
|
||||
BIND_CONSTANT(UPDATE_ALWAYS);
|
||||
BIND_ENUM_CONSTANT(UPDATE_ONCE);
|
||||
BIND_ENUM_CONSTANT(UPDATE_ALWAYS);
|
||||
}
|
||||
|
||||
ReflectionProbe::ReflectionProbe() {
|
||||
|
||||
Reference in New Issue
Block a user