Schemas / Animation / modulators
rig.anim.blend
v1.0.0 · stable maturity: draft 2 fields 2 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
root |
uint | required | id of the output node |
nodes |
array<object>min 1 items | required | Tree nodes |
Blend tree over clips. Format when present.
Each node:
lerp is (1 - weight) * a + weight * b. additive is a + weight * b. A host that cannot pose a property from these nodes skips that subtree.
Masks and layers beyond this tree stay in the host.
JSON Schema
Resolves at https://rig.works/schemas/rig.anim.blend.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.anim.blend.schema.json",
"title": "rig.anim.blend",
"type": "object",
"additionalProperties": false,
"properties": {
"root": {
"$ref": "./_defs.schema.json#/$defs/uint"
},
"nodes": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"kind"
],
"properties": {
"id": {
"$ref": "./_defs.schema.json#/$defs/uint"
},
"kind": {
"type": "string",
"enum": [
"clip",
"lerp",
"additive"
]
},
"clip": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"weight": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"a": {
"$ref": "./_defs.schema.json#/$defs/uint"
},
"b": {
"$ref": "./_defs.schema.json#/$defs/uint"
}
}
}
}
},
"required": [
"root",
"nodes"
],
"x-rig-maturity": "draft"
}