csharp
public readonly record struct WaterMeshSettingsThe numbers the surface's own block carries, beyond what the window already says.
Remarks
A record rather than ten parameters, because every one of them is a knob a zone panel shows and the set grows — which is the argument RenderQuality makes for its own groups.
Fields and properties (7)
public float WaterTimeThe simulation's water time, in seconds. ⚠ Not a frame time — see § D2.
public float AttenuationDepthThe depth at which waves reach their full height, in metres.
public float RestHeightWhere the open surface sits, for the far mesh, in world units.
public float ShoreDepthHow deep the water has to be before it is fully opaque water, in metres.
public float FoamDepthHow shallow it has to be before it foams, in metres.
public float FoamCrestHow far above the rest height a crest has to rise before it foams, in metres.
public static WaterMeshSettings DefaultThe shader's own declared defaults, which is what a document that says nothing gets.
Used by (5)
- FrameDocumentTestsThirdPersonShooter.Frame.Tests
- WaterHorizonImageTestsVixen.Graphics.Golden.Tests
- WaterMeshRendererVixen.Rendering.Water
- WaterRendererFactoryVixen.Rendering.Water
- WaterSurfacePassVixen.Rendering.Water