Skip to content

JSON Data Specification

Luna edited this page May 30, 2021 · 8 revisions

Puppets

Puppet

The puppet is the root of every puppet in your scene.

Type Tag Value Data
PuppetMeta meta Metadata of the puppet.
Node nodes A tree of nodes starting from the auto-generated Root node.

PuppetMeta

The meta section of a puppet contains the meta information about a puppet

Type Tag Value Data
string name The name of the puppet
string version The semver version of Inochi2D used to export the puppet
string[] authors An array of authors whom have contributed to the creation of the puppet
string copyright (OPTIONAL) Copyright string for the puppet, usually first author
string contact (OPTIONAL) Contact information of the (first) author, usually an email address.
string reference (OPTIONAL) URI of where the puppet originates, eg. BOOTH sale.
uint thumbnail_id (OPTIONAL) Texture Id to be used as a thumbnail.

Nodes

Node

Type Tag Value Data
string type The Node's Type Id
uint uuid The Node's unique ID
string name (OPTIONAL) Name of the Node
bool enabled Whether the node is enabled
float zsort Z Sorting base value
Transform transform The Node's transform
Node[] children Child nodes

Clone this wiki locally