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

◆ UpdateWeatherEffects()

void WorldData::UpdateWeatherEffects ( Weather weather,
float timeslice )
inlineprotected

Updates local weather effects.

Аргументы
weatherWeather instance
timesliceTime delta since last update

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

186 {
187 float snowflakeScale = ComputeSnowflakeScale( weather );
188 weather.SetSnowflakeScale( snowflakeScale );
189 }
proto native void SetSnowflakeScale(float scale)
Sets the overall scale of snowflakes during snowfall phenomenon. This value is not synchronized and s...
float ComputeSnowflakeScale(Weather weather)
Returns the desired snowflake scale based on weather simulation state.
Определения WorldData.c:195

Перекрестные ссылки ComputeSnowflakeScale() и Weather::SetSnowflakeScale().

Используется в CGame::OnUpdate().