Schemas / Animation / modulators

rig.anim.clip

v1.0.0 · stable maturity: draft 2 fields 1 required

Fields

FieldTypeMeaning
duration float required Seconds
wrap enumonce · loop · ping-pong optional Optional. once, loop, ping-pong; absent = once

A span of sampled motion. Format when present. Compose rig.meta.named for the clip name.

Samples live on rig.anim.track entities that point here. A blend of clips is rig.anim.blend.

A single float eased in place stays rig.anim.tween. This clip is the sampled take.

JSON Schema

Resolves at https://rig.works/schemas/rig.anim.clip.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.anim.clip.schema.json",
  "title": "rig.anim.clip",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "duration": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "wrap": {
      "type": "string",
      "enum": [
        "once",
        "loop",
        "ping-pong"
      ]
    }
  },
  "required": [
    "duration"
  ],
  "x-rig-maturity": "draft"
}

Seen in

play-scene.json · robot-lesson.json