DayZ 1.28
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetDoppler()

void EffectSound::SetDoppler ( bool setDoppler)
inlineprotected

Set if the sound has the doppler effect enabled.

Аргументы
setDopplerfloat If the doppler effect is enabled

bool is a fancy int, ensure the bool is 0 or 1 and don't allow -1 here since resetting isn't supported

См. определение в файле EffectSound.c строка 913

914 {
916 m_SoundDoppler = 0;
917 if (setDoppler)
918 {
919 m_SoundDoppler = 1;
920 }
921 }
int m_SoundDoppler
Определения EffectSound.c:40

Перекрестные ссылки m_SoundDoppler.