XII Release 0.1.0
Loading...
Searching...
No Matches
xiiWindStrength Struct Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <WindWorldModule.h>

Public Types

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

Static Public Member Functions

static float GetInMetersPerSecond (xiiWindStrength::Enum strength)

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

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

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

Member Function Documentation

◆ GetInMetersPerSecond()

float xiiWindStrength::GetInMetersPerSecond ( xiiWindStrength::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:
  • /home/runner/work/XII/XII/Source/Engine/Core/Interfaces/WindWorldModule.h
  • /home/runner/work/XII/XII/Source/Engine/Core/Interfaces/Implementation/WindWorldModule.cpp