Schemas / Other
rig.vr.haptic
v1.0.0 · stable maturity: draft 3 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
amplitude |
number0 – 1 | optional | Optional. 0-1. Absent = 0 |
durationSeconds |
number0 – * | optional | Optional. Length of the pulse. Absent = the host default |
frequencyHz |
number> 0 | optional | Optional. Absent = the host default |
One vibration pulse on a rig.vr.controller. Format when present.
This is the pulse when the document is loaded. An author writes a click; a save writes the command in effect. PCM streams, queues, and device handles stay in the host.
JSON Schema
Resolves at https://rig.works/schemas/rig.vr.haptic.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.vr.haptic.schema.json",
"title": "rig.vr.haptic",
"type": "object",
"additionalProperties": false,
"properties": {
"amplitude": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"durationSeconds": {
"type": "number",
"minimum": 0
},
"frequencyHz": {
"type": "number",
"exclusiveMinimum": 0
}
},
"x-rig-maturity": "draft"
}