public sealed class WaterBodySettingsWhat the body inspector edits.
Remarks
§ "The body inspector": kind, spline, material, wave asset, then the profile, then the terrain group, the underwater group and the physics group. What is here is the first two groups; the underwater group is a PostProcessVolume block verbatim, which doc 32's own inspector already draws, and the material is an asset reference the project's picker supplies.
Fields and properties (13)
public WaterBodyKind KindWhat kind of water it is.
public float SurfaceHeightWhere a closed body's surface sits, in world units.
public int PriorityWhich body wins where two overlap. Higher is on top.
public float HalfWidthHow far the channel reaches either side of the curve, in metres.
public float DepthHow far below the surface the bed sits, in metres.
public float VelocityHow fast the water moves downstream, in metres a second.
public float AudioIntensityHow loud it is.
public float ShoreFalloffHow wide the band is over which coverage falls to zero at the boundary, in metres.
public float BedRampHow far inside the boundary the bed reaches its full depth, in metres.
public float CarveStrengthHow much of its bed the terrain takes, 0…1.
public int BedLayerWhich paint layer the bed is, or −1 for none.
public WaterProfilePoint ProfileThe per-control-point profile this describes.
public WaterCarveProfile CarveHow much of the bed the ground takes, and what it paints along it.
Methods (2)
public WaterBodyComponent ComponentFor(string spline)What a scene entity carries, built from these and a spline's name.
public string? Validate()Why this body cannot be made, or if it can.
Used by (4)
- Describes_Vixen_Editor_Water_WaterBodySettingsVixen.Editor.Water
- WaterEditTestsVixen.Editor.Water.Tests
- WaterModeVixen.Editor.Water
- WaterModuleVixen.Editor.Water