Force value to be applied to an effect.
More...
#include <WeArtForce.h>
Force value to be applied to an effect.
WEART - Force struct https://www.weart.it/
◆ WeArtForce() [1/2]
WeArtForce::WeArtForce |
( |
| ) |
|
|
inline |
◆ WeArtForce() [2/2]
WeArtForce::WeArtForce |
( |
bool |
active, |
|
|
float |
force |
|
) |
| |
|
inline |
◆ operator==()
bool WeArtForce::operator== |
( |
const WeArtForce & |
other | ) |
|
|
inline |
◆ value() [1/2]
float WeArtForce::value |
( |
| ) |
const |
|
inline |
Force value getter.
- Returns
- the force value
◆ value() [2/2]
void WeArtForce::value |
( |
float |
force | ) |
|
|
inline |
Force value setter.
- Parameters
-
◆ active
◆ DefaultValue
constexpr float WeArtForce::DefaultValue = 0.0f |
|
staticconstexpr |
◆ MaxValue
constexpr float WeArtForce::MaxValue = 1.0f |
|
staticconstexpr |
◆ MinValue
constexpr float WeArtForce::MinValue = 0.0f |
|
staticconstexpr |
The documentation for this struct was generated from the following file: