Schemas / Spatial / scene
rig.spatial.layer
v0.31.0 · draft 3 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
order |
int | optional | Optional. Draw / list order; absent = 0 |
locked |
bool | optional | Optional. Edit lock hint; absent = false |
rgba |
rgba | optional | Optional. Tint / label colour (0-1); absent = no label colour. Hosts may store as four floats |
Document / render-order layer chrome. Format when present.
Compose rig.meta.named for the label. Show/hide is rig.render.visibility on the same entity - do not re-declare visible here. Blend and opacity are rig.render.blend.
Compositor stacks use rig.pixel.layer on the same entity when needed - do not duplicate these chrome fields there.
order here is layer-list / stack chrome. Sibling sequence under a scene parent is order on rig.spatial.relationship - different graph, same word; do not treat them as one stack.
Parenting stays on rig.spatial.relationship.
JSON Schema
Resolves at https://rig.works/schemas/rig.spatial.layer.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.spatial.layer.schema.json",
"title": "rig.spatial.layer",
"type": "object",
"additionalProperties": false,
"properties": {
"order": {
"$ref": "./_defs.schema.json#/$defs/int"
},
"locked": {
"$ref": "./_defs.schema.json#/$defs/bool"
},
"rgba": {
"$ref": "./_defs.schema.json#/$defs/rgba"
}
}
}