|
rigProject 0.1.1
RigKit pack API - rigProject
|
Save/load ECS document content as a RigWorks Contract document. More...
#include <rigProject/src/ProjectSerializer.h>
Save/load ECS document content as a RigWorks Contract document.
Root shape: { "rig": "<version>", "document": {...}, "entities": [ { "id": "...", "components": { "<schema id>": {...} } } ] }, plus optional root extensions for packs (e.g. plotter). Components are keyed by schema id, so any Rig host can read what this writes. Preferred file extension is owned by rigProject::setFileExtension.