API reference

HapticClip Class

Extends ScriptableObject
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.

Fields

The JSON representation of the haptic clip, stored as string encoded in UTF-8.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon