API reference
API reference
Select your platform
No SDKs available
No versions available

HapticClip Class

Extends ScriptableObject
Represents an imported haptic clip asset.
A HapticClip is an asset containing the data of a .haptic file. It can be played back at runtime by a HapticClipPlayer. A HapticClip is created by HapticClipImporter on import. in the Unity editor.

Fields

The JSON representation of the haptic clip, stored as a string encoded in UTF-8.
This JSON data is imported from a .haptic file by the HapticClipImporter. The data contains the HapticClip's metadata and haptic design pattern created in Meta Haptics Studio.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon