Schemas / Spatial / scene
rig.spatial.vertex
v0.31.0 · draft 0 fields 0 required
Fields
Marker component — presence is the whole meaning, no fields.
Locator / point marker. Format when present - presence means this entity is a point in the scene graph, not a drawable and not a mesh corner.
No fields. Pose lives on rig.spatial.transform. Compose:
rig.spatial.transform- the point (usual)rig.meta.named- labelrig.spatial.relationship- children may parent here (null object)
A scene is a root vertex. An unparented vertex is the world origin; children set parent to it. A locator that is not a scene parents to that vertex (or to a rig.spatial.group under it). More than one unparented vertex that others parent to is more than one scene.
Do not put x / y / z on this schema. Do not invent rig.spatial.scene or a kind tag - the graph is the tag. Do not index into rig.geometry.mesh positions - mesh corners stay packed arrays. Do not invent rig.geometry.vertex or rig.geometry.point for a locator.
Not rig.spatial.anchor (which cell of bounds is the origin). Not rig.font.anchor (named glyph point; font cannot reuse transform).
A drawable dot is still a host present of this marker (or a tiny geometry primitive). The Contract names the role; it does not ship a point glyph.
JSON Schema
Resolves at https://rig.works/schemas/rig.spatial.vertex.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.spatial.vertex.schema.json",
"title": "rig.spatial.vertex",
"type": "object",
"additionalProperties": false,
"properties": {},
"description": "Marker: presence means a locator / point. Pose on transform. An unparented vertex is a scene. No fields.",
"minProperties": 0
}