This component controls the haptic actuators of one or more hardware thimbles. The haptic control can be issued: 1) Manually from the Unity inspector 2) When a WeArtTouchableObject collides with this object 3) On custom haptic effects added or removed 4) On direct value set, through the public properties.
More...
|
Action | OnActiveEffectsUpdate |
| Called when the resultant haptic effect changes because of the influence caused by the currently active effects.
|
|
This component controls the haptic actuators of one or more hardware thimbles. The haptic control can be issued: 1) Manually from the Unity inspector 2) When a WeArtTouchableObject collides with this object 3) On custom haptic effects added or removed 4) On direct value set, through the public properties.
◆ WeArtHapticObject()
WeArt.Components.WeArtHapticObject.WeArtHapticObject |
( |
WeArtClient |
client | ) |
|
|
inline |
◆ AddEffect()
void WeArt.Components.WeArtHapticObject.AddEffect |
( |
IWeArtEffect |
effect | ) |
|
|
inline |
Adds a haptic effect to this object. This effect will have an influence as long as it is not removed or the haptic properties are programmatically forced to have a specified value.
When called, this methods replaces the latest effect applied with the new one
- Parameters
-
effect | The haptic effect to add to this object |
◆ RemoveEffect()
void WeArt.Components.WeArtHapticObject.RemoveEffect |
( |
IWeArtEffect |
effect | ) |
|
|
inline |
Removes a haptic effect from the set of influencing effects.
When called, this methods removes the (only) active effect, leaving the haptic object without applied effects
- Parameters
-
effect | The haptic effect to remove |
◆ ActiveEffect
IWeArtEffect WeArt.Components.WeArtHapticObject.ActiveEffect |
|
get |
The currently active effects on this object.
◆ ActuationPoints
The thimbles to control with this component.
◆ Force
Force WeArt.Components.WeArtHapticObject.Force |
|
getset |
The current pressing force of the specified thimbles.
◆ HandSides
The hand sides to control with this component.
◆ Temperature
Temperature WeArt.Components.WeArtHapticObject.Temperature |
|
getset |
The current temperature of the specified thimbles.
◆ Texture
Texture WeArt.Components.WeArtHapticObject.Texture |
|
getset |
The current texture feeling applied on the specified thimbles.
◆ OnActiveEffectsUpdate
Action WeArt.Components.WeArtHapticObject.OnActiveEffectsUpdate |
Called when the resultant haptic effect changes because of the influence caused by the currently active effects.
The documentation for this class was generated from the following file: