Unity SDK  v1.2.0
Loading...
Searching...
No Matches
WeArt.Components.WeArtTouchEffect Class Reference
Inheritance diagram for WeArt.Components.WeArtTouchEffect:
[legend]

Classes

class  WeArtImpactInfo
 Defines the ImpactInfo. More...
 

Public Member Functions

void Set (Temperature temperature, Force force, Texture texture, WeArtImpactInfo impactInfo)
 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.
 

Member Function Documentation

◆ Set()

void WeArt.Components.WeArtTouchEffect.Set ( Temperature  temperature,
Force  force,
Texture  texture,
WeArtImpactInfo  impactInfo 
)
inline

The Set.

Parameters
temperatureThe temperatureTemperature.
forceThe forceForce.
textureThe textureTexture.
impactInfoThe impactInfoImpactInfo.

Property Documentation

◆ Force

Force WeArt.Components.WeArtTouchEffect.Force = Force.Default
get

Gets the Force.

Implements WeArt.Core.IWeArtEffect.

◆ Temperature

Temperature WeArt.Components.WeArtTouchEffect.Temperature = Temperature.Default
get

Gets the Temperature.

Implements WeArt.Core.IWeArtEffect.

◆ Texture

Texture WeArt.Components.WeArtTouchEffect.Texture = Texture.Default
get

Gets the Texture.

Implements WeArt.Core.IWeArtEffect.

Event Documentation

◆ OnUpdate

Action WeArt.Components.WeArtTouchEffect.OnUpdate

Defines the OnUpdate.


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