mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
update doc/*/scripting/builtins/libgfx-weather.md
This commit is contained in:
parent
702a8b05f0
commit
578142c081
2 changed files with 23 additions and 17 deletions
|
|
@ -4,14 +4,17 @@ A library for managing audio/visual weather effects.
|
|||
|
||||
Weather settings:
|
||||
|
||||
| Property | Description | Default |
|
||||
| ------------ | ------------------------------ | ------- |
|
||||
| fall | Precipitation (see table 2) | {} |
|
||||
| clouds | Cloudiness [0.0, 1.0] | 0.0 |
|
||||
| fog_opacity | Maximum fog density [0.0, 1.0] | 0.0 |
|
||||
| fog_dencity | Fog density | 1.0 |
|
||||
| fog_curve | Fog curve | 1.0 |
|
||||
| thunder_rate | Thunder rate [0.0, 1.0] | 0.0 |
|
||||
| Property | Description | Default |
|
||||
| ------------- | -------------------------------- | ----------------- |
|
||||
| fall | Precipitation (see table 2) | {} |
|
||||
| clouds | Cloudiness [0.0, 1.0] | 0.0 |
|
||||
| fog_opacity | Maximum fog density [0.0, 1.0] | 0.0 |
|
||||
| fog_dencity | Fog density | 1.0 |
|
||||
| fog_curve | Fog curve | 1.0 |
|
||||
| thunder_rate | Thunder rate [0.0, 1.0] | 0.0 |
|
||||
| sky_tint | Sky color multiplier | {1, 1, 1} |
|
||||
| clouds_tint | Cloud color multiplier | {1, 1, 1} |
|
||||
| min_sky_light | Minimum sky-emitted light (moon) | {0.2, 0.25, 0.33} |
|
||||
|
||||
Precipitation:
|
||||
|
||||
|
|
|
|||
|
|
@ -4,14 +4,17 @@
|
|||
|
||||
Настройки погоды:
|
||||
|
||||
| Свойство | Описание | По-умолчанию |
|
||||
| ------------ | ---------------------------------------- | ------------ |
|
||||
| fall | Осадки (см. таблица 2) | {} |
|
||||
| clouds | Облачность [0.0, 1.0] | 0.0 |
|
||||
| fog_opacity | Максимальная плотность тумана [0.0, 1.0] | 0.0 |
|
||||
| fog_dencity | Плотность тумана | 1.0 |
|
||||
| fog_curve | Кривая тумана | 1.0 |
|
||||
| thunder_rate | Частота грома [0.0, 1.0] | 0.0 |
|
||||
| Свойство | Описание | По-умолчанию |
|
||||
| ------------- | ------------------------------------------ | ----------------- |
|
||||
| fall | Осадки (см. таблица 2) | {} |
|
||||
| clouds | Облачность [0.0, 1.0] | 0.0 |
|
||||
| fog_opacity | Максимальная плотность тумана [0.0, 1.0] | 0.0 |
|
||||
| fog_dencity | Плотность тумана | 1.0 |
|
||||
| fog_curve | Кривая тумана | 1.0 |
|
||||
| thunder_rate | Частота грома [0.0, 1.0] | 0.0 |
|
||||
| sky_tint | Множитель цвета неба | {1, 1, 1} |
|
||||
| clouds_tint | Множитель цвета облаков | {1, 1, 1} |
|
||||
| min_sky_light | Минимальный свет излучаемый небом (лунный) | {0.2, 0.25, 0.33} |
|
||||
|
||||
Осадки:
|
||||
|
||||
|
|
@ -50,4 +53,4 @@ gfx.weather.get_fall_intensity() -> number
|
|||
|
||||
-- Проверяет, происходит ли в данный момент переключение погоды
|
||||
gfx.weather.is_transition() -> boolean
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue