Schemas / Geometry / paint

rig.paint.filter

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

Fields

FieldTypeMeaning
filter entity optional Optional. Graph root. Used on the drawable
primitiveUnits enumuser-space · object optional Optional. user-space or object. Absent = user-space. Used on the graph root

Filter graph pointer, or the graph root. Format when present.

On a drawable, filter names the graph entity. On the graph entity, primitiveUnits is the length space for the steps.

Steps are children in rig.spatial.relationship order, each rig.paint.filter_step. A host that cannot run a step skips it. The fields still travel.

JSON Schema

Resolves at https://rig.works/schemas/rig.paint.filter.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.paint.filter.schema.json",
  "title": "rig.paint.filter",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "filter": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "primitiveUnits": {
      "type": "string",
      "enum": [
        "user-space",
        "object"
      ]
    }
  },
  "x-rig-maturity": "stable"
}