Low-Level C# SDK  v1.3.0
Loading...
Searching...
No Matches
WeArt.Components.TouchEffect Class Reference

Internal class used to create the haptic effet on collision. More...

Inheritance diagram for WeArt.Components.TouchEffect:
[legend]

Public Member Functions

void Set (Temperature temperature, Force force, Texture texture)
 The Set.
 

Properties

Temperature Temperature = Temperature.Default [get]
 Gets the Temperature.
 
Force Force = Force.Default [get]
 Gets the Force.
 
Texture Texture = Texture.Default [get]
 Gets the Texture.
 
- Properties inherited from WeArt.Core.IWeArtEffect
Temperature Temperature [get]
 The temperature applied by this haptic effect.
 
Force Force [get]
 The force applied by this haptic effect.
 
Texture Texture [get]
 The texture applied by this haptic effect.
 

Events

Action OnUpdate
 Defines the OnUpdate.
 
- Events inherited from WeArt.Core.IWeArtEffect
Action OnUpdate
 This event should be called whenever any of the haptic values changes over time.
 

Detailed Description

Internal class used to create the haptic effet on collision.

Member Function Documentation

◆ Set()

void WeArt.Components.TouchEffect.Set ( Temperature  temperature,
Force  force,
Texture  texture 
)
inline

The Set.

Parameters
temperatureThe temperatureTemperature.
forceThe forceForce.
textureThe textureTexture.

Property Documentation

◆ Force

Force WeArt.Components.TouchEffect.Force = Force.Default
get

Gets the Force.

Implements WeArt.Core.IWeArtEffect.

◆ Temperature

Temperature WeArt.Components.TouchEffect.Temperature = Temperature.Default
get

Gets the Temperature.

Implements WeArt.Core.IWeArtEffect.

◆ Texture

Texture WeArt.Components.TouchEffect.Texture = Texture.Default
get

Gets the Texture.

Implements WeArt.Core.IWeArtEffect.

Event Documentation

◆ OnUpdate

Action WeArt.Components.TouchEffect.OnUpdate

Defines the OnUpdate.


The documentation for this class was generated from the following file: