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

185 {
186 float snowflakeScale = ComputeSnowflakeScale( weather );
187 weather.SetSnowflakeScale( snowflakeScale );
188 }
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:194

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

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