Schemas / Animation / modulators

rig.anim.skeleton

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

Fields

FieldTypeMeaning
root entity required Root bone
bones array<entity>min 1 items required Every bone, including root

Ordered bones. Format when present.

Each bone is an entity. Its pose at save is rig.spatial.transform. Its rest pose, when it differs, is rig.anim.bind. Its parent is rig.spatial.relationship. A label is rig.meta.named.

Skinning is rig.anim.skin. Sampled motion is rig.anim.clip plus rig.anim.track.

JSON Schema

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

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.anim.skeleton.schema.json",
  "title": "rig.anim.skeleton",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "root": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "bones": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "./_defs.schema.json#/$defs/entity"
      }
    }
  },
  "required": [
    "root",
    "bones"
  ],
  "x-rig-maturity": "draft"
}

Seen in

play-scene.json