Temperature value to be applied to an effect.
More...
#include <WeArtTexture.h>
Temperature value to be applied to an effect.
WEART - Texture component https://www.weart.it/
◆ WeArtTexture() [1/2]
WeArtTexture::WeArtTexture |
( |
| ) |
|
|
inline |
◆ WeArtTexture() [2/2]
WeArtTexture::WeArtTexture |
( |
bool |
active, |
|
|
TextureType |
type, |
|
|
float |
velocity, |
|
|
float |
textureVolume |
|
) |
| |
|
inline |
◆ operator==()
bool WeArtTexture::operator== |
( |
const WeArtTexture & |
other | ) |
const |
|
inline |
◆ textureType() [1/2]
TextureType WeArtTexture::textureType |
( |
| ) |
const |
|
inline |
Texture type getter.
- Returns
- current texture type value
◆ textureType() [2/2]
void WeArtTexture::textureType |
( |
TextureType |
type | ) |
|
|
inline |
Texture type setter.
- Parameters
-
type | Texture type value to set |
◆ textureVelocity() [1/2]
float WeArtTexture::textureVelocity |
( |
| ) |
const |
|
inline |
Gets the texture velocity.
- Returns
- current texture velocity value
◆ textureVelocity() [2/2]
void WeArtTexture::textureVelocity |
( |
float |
velocity | ) |
|
|
inline |
Sets the texture velocity (speed at which the vibration is emitted, between 0 and 0.5)
- Parameters
-
◆ volume() [1/2]
float WeArtTexture::volume |
( |
| ) |
const |
|
inline |
Volume value getter.
- Returns
- current texture volume
◆ volume() [2/2]
void WeArtTexture::volume |
( |
float |
v | ) |
|
|
inline |
Volume value setter.
- Parameters
-
◆ active
bool WeArtTexture::active |
◆ DefaultTextureType
constexpr TextureType WeArtTexture::DefaultTextureType = TextureType::ClickNormal |
|
staticconstexpr |
◆ DefaultVelocity
constexpr float WeArtTexture::DefaultVelocity = 0.0f |
|
staticconstexpr |
◆ DefaultVolume
constexpr float WeArtTexture::DefaultVolume = 100.0f |
|
staticconstexpr |
◆ MaxVelocity
constexpr float WeArtTexture::MaxVelocity = 0.5f |
|
staticconstexpr |
◆ MaxVolume
constexpr float WeArtTexture::MaxVolume = 100.0f |
|
staticconstexpr |
◆ MinVelocity
constexpr float WeArtTexture::MinVelocity = 0.0f |
|
staticconstexpr |
◆ MinVolume
constexpr float WeArtTexture::MinVolume = 0.0f |
|
staticconstexpr |
The documentation for this struct was generated from the following file: