![]() |
Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
|
Represents an imported haptic clip asset. More...
Public Attributes | |
| byte[] | json |
| The JSON representation of the haptic clip, stored as a byte array encoded in UTF-8, without a null terminator. | |
| GamepadRumble | gamepadRumble |
| The haptic clip represented as a GamepadRumble struct. | |
Represents an imported haptic clip asset.
HapticClip contains the data of a haptic clip asset imported from a .haptic file, in a format suitable for playing it back at runtime. A HapticClip is created by HapticImporter when importing a haptic clip asset in the Unity editor, and can be played back at runtime with e.g. HapticSource or HapticController.Play().
It contains two representations:
| GamepadRumble Lofelt.NiceVibrations.HapticClip.gamepadRumble |
The haptic clip represented as a GamepadRumble struct.
| byte [] Lofelt.NiceVibrations.HapticClip.json |
The JSON representation of the haptic clip, stored as a byte array encoded in UTF-8, without a null terminator.