Schemas / Spatial / scene

rig.spatial.instance

v1.0.0 · stable maturity: stable 1 field 1 required

Fields

FieldTypeMeaning
source entity required Template. A <symbol> is a rig.spatial.group with rig.render.visibility hidden until instanced

Instance of another entity. Format when present.

This is SVG <use>: draw source at this entity's pose.

Pose is rig.spatial.transform on this entity. Do not copy the source's components here. Cycles (source that reaches this entity) are a document error.

JSON Schema

Resolves at https://rig.works/schemas/rig.spatial.instance.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.spatial.instance.schema.json",
  "title": "rig.spatial.instance",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "source": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    }
  },
  "required": [
    "source"
  ],
  "x-rig-maturity": "stable"
}