Interface SurfaceWater.IAreaSource
Water that stands only in some places: lakes and rivers.
public interface SurfaceWater.IAreaSource : SurfaceWater.ISource
- Inherited Members
Methods
CurrentAt(float, float)
The water's horizontal velocity at a world position, m/s; zero where it is still or absent.
Vector2 CurrentAt(float x, float z)
Parameters
Returns
- Vector2
TryGetSurface(float, float, out float)
The water's surface over a world position, when there is water there.
bool TryGetSurface(float x, float z, out float level)