Rise
The Vieneo Province
Loading...
Searching...
No Matches
WindshieldRain Namespace Reference

Classes

struct  Point
struct  AirJet
struct  Drop
class  Surface

Functions

float AdvanceWiper (float phase, float elapsed, bool powered, bool raining, bool *moving=nullptr)
float AltitudeRainFactor (float altitudeKm)
float CloudRainFactor (float density, float belowBaseKm, bool volumeEnabled)
float PrecipitationIntensity (float precipitation, float altitudeKm=0.f)
float LiquidRainIntensity (float precipitation, float snowBlend, bool exposed, float altitudeKm=0.f)
float ExteriorDropBudget (float intensity, int maximum)
int ExteriorDropCount (float intensity, int maximum)
float ExteriorDropOpacity (int index, float intensity, int maximum)

Variables

constexpr float WiperCyclesPerSecond = .6f

Function Documentation

◆ AdvanceWiper()

float WindshieldRain::AdvanceWiper ( float phase,
float elapsed,
bool powered,
bool raining,
bool * moving = nullptr )
inline

Definition at line 17 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AltitudeRainFactor()

float WindshieldRain::AltitudeRainFactor ( float altitudeKm)
inline

Definition at line 28 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CloudRainFactor()

float WindshieldRain::CloudRainFactor ( float density,
float belowBaseKm,
bool volumeEnabled )
inline

Definition at line 35 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExteriorDropBudget()

float WindshieldRain::ExteriorDropBudget ( float intensity,
int maximum )
inline

Definition at line 54 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExteriorDropCount()

int WindshieldRain::ExteriorDropCount ( float intensity,
int maximum )
inline

Definition at line 58 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExteriorDropOpacity()

float WindshieldRain::ExteriorDropOpacity ( int index,
float intensity,
int maximum )
inline

Definition at line 62 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LiquidRainIntensity()

float WindshieldRain::LiquidRainIntensity ( float precipitation,
float snowBlend,
bool exposed,
float altitudeKm = 0.f )
inline

Definition at line 47 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrecipitationIntensity()

float WindshieldRain::PrecipitationIntensity ( float precipitation,
float altitudeKm = 0.f )
inline

Definition at line 43 of file WindshieldRain.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ WiperCyclesPerSecond

float WindshieldRain::WiperCyclesPerSecond = .6f
inlineconstexpr

Definition at line 16 of file WindshieldRain.h.