API reference

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

json : string
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.
Signature
string Oculus.Haptics.HapticClip.json