mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
AudioEffectFilter: lowercase dB property to db
This commit is contained in:
parent
50306041e5
commit
2449d21671
@ -158,7 +158,7 @@ void AudioEffectFilter::_bind_methods() {
|
|||||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "cutoff_hz", PROPERTY_HINT_RANGE, "1,40000,0.1"), "set_cutoff", "get_cutoff");
|
ADD_PROPERTY(PropertyInfo(Variant::REAL, "cutoff_hz", PROPERTY_HINT_RANGE, "1,40000,0.1"), "set_cutoff", "get_cutoff");
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "resonance", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_resonance", "get_resonance");
|
ADD_PROPERTY(PropertyInfo(Variant::REAL, "resonance", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_resonance", "get_resonance");
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::REAL, "gain", PROPERTY_HINT_RANGE, "0,4,0.01"), "set_gain", "get_gain");
|
ADD_PROPERTY(PropertyInfo(Variant::REAL, "gain", PROPERTY_HINT_RANGE, "0,4,0.01"), "set_gain", "get_gain");
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "dB", PROPERTY_HINT_ENUM, "6db,12db,18db,24db"), "set_db", "get_db");
|
ADD_PROPERTY(PropertyInfo(Variant::INT, "db", PROPERTY_HINT_ENUM, "6 dB,12 dB,18 dB,24 dB"), "set_db", "get_db");
|
||||||
|
|
||||||
BIND_ENUM_CONSTANT(FILTER_6DB);
|
BIND_ENUM_CONSTANT(FILTER_6DB);
|
||||||
BIND_ENUM_CONSTANT(FILTER_12DB);
|
BIND_ENUM_CONSTANT(FILTER_12DB);
|
||||||
|
Loading…
Reference in New Issue
Block a user