DayZ 1.27
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 строка 900

901 {
903 m_SoundDoppler = 0;
904 if (setDoppler)
905 {
906 m_SoundDoppler = 1;
907 }
908 }
int m_SoundDoppler
Определения EffectSound.c:40

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