![]() |
Interhaptics SDK for Unity 1.6
|
Class to test the different haptic effects in the Interhaptics SDK triggered by key presses on the code side (no Monobehaviour) More...
Public Member Functions | |
void | CodeTester () |
void | TestConstant () |
void | TestConstantLoop () |
void | TestConstantRight () |
void | TestParametricHapticEffect () |
void | TestHapticEffect () |
void | TestTransient () |
void | TestTransients () |
void | TestTransientsLoop () |
void | TestAmplitude () |
void | TestAmplitudesLoop () |
void | TestAmplitudesTransients () |
void | TestAmplitudesTransientsLoop () |
void | TestFrequency () |
void | TestFrequencyLoop () |
void | TestFrequencyTransients () |
void | TestFrequencyTransientsLoop () |
void | TestLongHaptics () |
void | PlayStockHaptics (int i) |
void | StopMobileHaptics () |
void | StopHapticEffect () |
Public Attributes | |
HapticMaterial | hapticMaterial |
double | intensity = 1.0 |
Class to test the different haptic effects in the Interhaptics SDK triggered by key presses on the code side (no Monobehaviour)
Definition at line 13 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.CodeTester | ( | ) |
Definition at line 85 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.PlayStockHaptics | ( | int | i | ) |
Definition at line 306 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.StopHapticEffect | ( | ) |
Definition at line 321 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.StopMobileHaptics | ( | ) |
Definition at line 310 of file HapticEffectCodeTester.cs.
References Interhaptics.Platforms.Mobile.GenericAndroidHapticAbstraction.Cancel(), and Interhaptics.Core.MobileControl.StopEffects().
void Interhaptics.Samples.HapticEffectCodeTester.TestAmplitude | ( | ) |
Definition at line 163 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestAmplitudesLoop | ( | ) |
Definition at line 169 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestAmplitudesTransients | ( | ) |
Definition at line 176 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestAmplitudesTransientsLoop | ( | ) |
Definition at line 191 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestConstant | ( | ) |
Definition at line 98 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestConstantLoop | ( | ) |
Definition at line 103 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestConstantRight | ( | ) |
Definition at line 110 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestFrequency | ( | ) |
Definition at line 206 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestFrequencyLoop | ( | ) |
Definition at line 221 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestFrequencyTransients | ( | ) |
Definition at line 236 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestFrequencyTransientsLoop | ( | ) |
Definition at line 262 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestHapticEffect | ( | ) |
Definition at line 118 of file HapticEffectCodeTester.cs.
References Interhaptics.Samples.HapticEffectCodeTester.hapticMaterial.
void Interhaptics.Samples.HapticEffectCodeTester.TestLongHaptics | ( | ) |
Definition at line 289 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestParametricHapticEffect | ( | ) |
Definition at line 114 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestTransient | ( | ) |
Definition at line 122 of file HapticEffectCodeTester.cs.
References Interhaptics.Samples.HapticEffectCodeTester.intensity.
void Interhaptics.Samples.HapticEffectCodeTester.TestTransients | ( | ) |
Definition at line 139 of file HapticEffectCodeTester.cs.
void Interhaptics.Samples.HapticEffectCodeTester.TestTransientsLoop | ( | ) |
Definition at line 151 of file HapticEffectCodeTester.cs.
HapticMaterial Interhaptics.Samples.HapticEffectCodeTester.hapticMaterial |
Definition at line 15 of file HapticEffectCodeTester.cs.
Referenced by Interhaptics.Samples.HapticEffectCodeTester.TestHapticEffect().
double Interhaptics.Samples.HapticEffectCodeTester.intensity = 1.0 |
Definition at line 16 of file HapticEffectCodeTester.cs.
Referenced by Interhaptics.Samples.HapticEffectCodeTester.TestTransient().