Low-Level C++ SDK  v1.2.0
Loading...
Searching...
No Matches
WeArtForce Struct Reference

Force value to be applied to an effect. More...

#include <WeArtForce.h>

Public Member Functions

 WeArtForce ()
 
 WeArtForce (bool active, float force)
 
float value () const
 Force value getter.
 
void value (float force)
 Force value setter.
 
bool operator== (const WeArtForce &other)
 

Public Attributes

bool active
 

Static Public Attributes

static constexpr float DefaultValue = 0.0f
 
static constexpr float MinValue = 0.0f
 
static constexpr float MaxValue = 1.0f
 

Detailed Description

Force value to be applied to an effect.

WEART - Force struct https://www.weart.it/

Constructor & Destructor Documentation

◆ WeArtForce() [1/2]

WeArtForce::WeArtForce ( )
inline

◆ WeArtForce() [2/2]

WeArtForce::WeArtForce ( bool  active,
float  force 
)
inline

Member Function Documentation

◆ 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
forceValue to set

Member Data Documentation

◆ active

bool WeArtForce::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: