mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 13:00:33 +00:00
consolidate addfieldV method contents to avoid duplication
report *what* field is an invalid console type prune down floating point fuzzed validators to 0 default the visual fidelity to POINT_EPSILON (0.0001) rather than 1/FLT_MAX use the bit(bitcount) macro for legibility fix breakangle
This commit is contained in:
parent
47ec0cf0e1
commit
44b0d896b8
6 changed files with 42 additions and 50 deletions
|
|
@ -426,7 +426,7 @@ void SFXDescription::initPersistFields()
|
|||
"Reverb echo depth.");
|
||||
addFieldV("reverbModTime", TypeRangedF32, Offset(mReverb.flModulationTime, SFXDescription), &CommonValidators::PositiveFloat,
|
||||
"Reverb Modulation time.");
|
||||
addFieldV("reverbModDepth", TypeRangedF32, Offset(mReverb.flModulationDepth, SFXDescription), &CommonValidators::PositiveFloat,
|
||||
addFieldV("reverbModDepth", TypeRangedF32, Offset(mReverb.flModulationDepth, SFXDescription), &CommonValidators::NormalizedFloat,
|
||||
"Reverb Modulation Depth.");
|
||||
addFieldV("airAbsorbtionGainHF", TypeRangedF32, Offset(mReverb.flAirAbsorptionGainHF, SFXDescription), &CommonValidators::PositiveFloat,
|
||||
"High Frequency air absorbtion");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue