ezEngine  Release 25.03
ezWindStrength Struct Reference

Defines the strength / speed of wind. Inspired by the Beaufort Scale. More...

#include <WindWorldModule.h>

Inheritance diagram for ezWindStrength:

Public Types

enum  Enum {
  Calm, LightBreeze, GentleBreeze, ModerateBreeze,
  StrongBreeze, Storm, WeakShockwave, MediumShockwave,
  StrongShockwave, ExtremeShockwave, Default = LightBreeze
}
 
using StorageType = ezUInt8
 

Static Public Member Functions

static float GetInMetersPerSecond (ezWindStrength::Enum strength)
 Maps the wind strength name to a meters per second speed value as defined by the Beaufort Scale. More...
 

Detailed Description

Defines the strength / speed of wind. Inspired by the Beaufort Scale.

See https://en.wikipedia.org/wiki/Beaufort_scale

Member Function Documentation

◆ GetInMetersPerSecond()

float ezWindStrength::GetInMetersPerSecond ( ezWindStrength::Enum  strength)
static

Maps the wind strength name to a meters per second speed value as defined by the Beaufort Scale.

The value only defines how fast wind moves, how much it affects an object, like bending it, depends on additional factors like stiffness and is thus object specific.


The documentation for this struct was generated from the following files: