Low-Level C++ SDK
v1.3.0
|
Basic object to apply effects. More...
#include <WeArtEffect.h>
Public Member Functions | |
TouchEffect (WeArtTemperature temp, WeArtForce force, WeArtTexture texture) | |
bool | Set (WeArtTemperature temp, WeArtForce force, WeArtTexture texture) |
Set the effect parameters. | |
virtual WeArtTemperature | getTemperature () override |
Get temperature value. | |
virtual WeArtForce | getForce () override |
Get force value. | |
virtual WeArtTexture | getTexture () override |
Get texture value. | |
virtual WeArtTemperature | getTemperature ()=0 |
Get temperature value. | |
virtual WeArtForce | getForce ()=0 |
Get force value. | |
virtual WeArtTexture | getTexture ()=0 |
Get texture value. | |
Basic object to apply effects.
The TouchEffect object allows to apply simple effect to an haptic object. The temperature and force values are applied as set in the object, while the texture velocity is forced to its maximum value if active.
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
bool TouchEffect::Set | ( | WeArtTemperature | temp, |
WeArtForce | force, | ||
WeArtTexture | texture | ||
) |
Set the effect parameters.
temp | Temperature to apply |
force | Force to apply |
texture | Texture to apply |