|
My Project v1
Project
|


Public 成员函数 | |
| virtual PrecipitationShaftInfo | GetPrecipitationShaftInfo (int x, int z) |
| virtual void | ManualLightingStrike (Vector3 position, Vector3 direction) |
| virtual void | ManualPrecipitationStart () |
| virtual void | ManualPrecipitationEnd () |
| virtual void | ManualFogStart () |
| virtual void | ManualFogEnd () |
| virtual void | Draw (Camera camera, int drawOrder) |
| virtual void | Update (float dt) |
| override void | Load (ValuesDictionary valuesDictionary) |
| override void | Save (ValuesDictionary valuesDictionary) |
| virtual void | UpdatePrecipitation (float dt) |
| virtual void | UpdateLightning (float dt) |
| virtual void | UpdateFog (float dt) |
| virtual Dictionary< Point2, PrecipitationShaftParticleSystem > | GetActiveShafts (GameWidget gameWidget) |
| virtual void | FreezeThawAndDepositSnow (TerrainChunk chunk, float freezeProbability, float thawProbability, bool forceDepositSnow) |
Public 成员函数 继承自 Game.IDrawable | |
Public 成员函数 继承自 Game.IUpdateable | |
Public 属性 | |
| SubsystemGameInfo | m_subsystemGameInfo |
| SubsystemBlocksScanner | m_subsystemBlocksScanner |
| SubsystemParticles | m_subsystemParticles |
| SubsystemAudio | m_subsystemAudio |
| SubsystemSeasons | m_subsystemSeasons |
| Random | m_random = new() |
| Dictionary< GameWidget, Dictionary< Point2, PrecipitationShaftParticleSystem > > | m_activeShafts = [] |
| List< PrecipitationShaftParticleSystem > | m_toRemove = [] |
| Dictionary< GameWidget, Vector2?> | m_lastShaftsUpdatePositions = [] |
| float | m_targetRainSoundVolume |
| double | m_precipitationStartTime |
| double | m_precipitationEndTime |
| float | m_precipitationRampTime |
| float | m_lightningIntensity |
| double | m_fogStartTime |
| double | m_fogEndTime |
| float | m_fogRampTime |
| float | m_rainVolumeFactor |
| Sound | m_rainSound |
| int[] | m_shuffledOrder |
静态 Public 属性 | |
| const int | m_rainSoundRadius = 7 |
| static int[] | m_drawOrders |
| static Func< int, int > | GetTemperatureAdjustmentAtHeight = (int y) => (int)MathF.Round((y > 64) ? (-0.0008f * MathUtils.Sqr(y - 64)) : (0.1f * (64 - y))) |
| static Func< int, int, bool > | IsPlaceFrozen = (int temperature, int y) => temperature + GetTemperatureAdjustmentAtHeight(y) <= 0 |
| static Func< int, int, bool > | ShaftHasSnowOnIce = (int x, int z) => MathUtils.Hash((uint)((x & 0xFFFF) | (z << 16))) > 429496729 |
属性 | |
| SubsystemTerrain | SubsystemTerrain [get, set] |
| SubsystemSky | SubsystemSky [get, set] |
| SubsystemTime | SubsystemTime [get, set] |
| virtual RainSplashParticleSystem | RainSplashParticleSystem [get, set] |
| virtual SnowSplashParticleSystem | SnowSplashParticleSystem [get, set] |
| virtual Color | RainColor [get, set] |
| virtual Color | SnowColor [get, set] |
| virtual float | PrecipitationIntensity [get, set] |
| virtual int | FogSeed [get, set] |
| virtual float | FogProgress [get, set] |
| virtual float | FogIntensity [get, set] |
| virtual bool | IsPrecipitationStarted [get] |
| virtual bool | IsFogStarted [get] |
| int[] | DrawOrders [get] |
| UpdateOrder | UpdateOrder [get] |
属性 继承自 Game.IDrawable | |
属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
|
virtual |
|
virtual |


|
virtual |

|
virtual |


| override void Game.SubsystemWeather.Load | ( | ValuesDictionary | valuesDictionary | ) |


|
virtual |

|
virtual |

|
virtual |


|
virtual |

|
virtual |

| override void Game.SubsystemWeather.Save | ( | ValuesDictionary | valuesDictionary | ) |
|
virtual |
|
virtual |


|
virtual |


|
virtual |


|
static |
|
static |
| Dictionary<GameWidget, Dictionary<Point2, PrecipitationShaftParticleSystem> > Game.SubsystemWeather.m_activeShafts = [] |
|
static |
| double Game.SubsystemWeather.m_fogEndTime |
| float Game.SubsystemWeather.m_fogRampTime |
| double Game.SubsystemWeather.m_fogStartTime |
| Dictionary<GameWidget, Vector2?> Game.SubsystemWeather.m_lastShaftsUpdatePositions = [] |
| float Game.SubsystemWeather.m_lightningIntensity |
| double Game.SubsystemWeather.m_precipitationEndTime |
| float Game.SubsystemWeather.m_precipitationRampTime |
| double Game.SubsystemWeather.m_precipitationStartTime |
| Sound Game.SubsystemWeather.m_rainSound |
|
static |
| float Game.SubsystemWeather.m_rainVolumeFactor |
| Random Game.SubsystemWeather.m_random = new() |
| int [] Game.SubsystemWeather.m_shuffledOrder |
| SubsystemAudio Game.SubsystemWeather.m_subsystemAudio |
| SubsystemBlocksScanner Game.SubsystemWeather.m_subsystemBlocksScanner |
| SubsystemGameInfo Game.SubsystemWeather.m_subsystemGameInfo |
| SubsystemParticles Game.SubsystemWeather.m_subsystemParticles |
| SubsystemSeasons Game.SubsystemWeather.m_subsystemSeasons |
| float Game.SubsystemWeather.m_targetRainSoundVolume |
| List<PrecipitationShaftParticleSystem> Game.SubsystemWeather.m_toRemove = [] |
|
static |
|
get |
实现了 Game.IDrawable.
|
getset |
|
getset |
|
getset |
|
get |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
实现了 Game.IUpdateable.