DayZ 1.30
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 строка 917

918 {
920 m_SoundDoppler = 0;
921 if (setDoppler)
922 {
923 m_SoundDoppler = 1;
924 }
925 }
int m_SoundDoppler
Определения EffectSound.c:40

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