content
type: object
Renderable scene tree and its semantic, entity and component bindings.
Raw schema: /schema/1.0/modules/scene.schema.json
contenttype: object
nodetype: object · required: id, kind
| Property | Type | Required | Constraints |
|---|---|---|---|
id | id | yes | — |
kind | taxonomy | yes | — |
name | string | no | minLength 1 |
entityRef | id | no | — |
componentRef | id | no | — |
semanticRef | id | no | — |
assetRef | id | no | — |
materialRef | id | no | — |
instanceOf | id | no | — |
text | string | no | — |
content | content | no | — |
geometry | geometry | no | — |
layout | layout | no | — |
appearance | appearance | no | — |
transform | transform | no | — |
bounds | bounds | no | — |
responsive | responsive | no | — |
accessibility | accessibility | no | — |
children | array<node> | no | — |
visible | boolean | no | — |
layer | string | no | minLength 1 |
stateRefs | array<id> | no | — |
eventRefs | array<id> | no | — |
actionRefs | array<id> | no | — |
motionRefs | array<id> | no | — |
effectRefs | array<id> | no | — |
references | array<id> | no | — |
spatialUI | spatialUI | no | — |
extensions | extensions | no | — |
scenetype: object · required: id, kind, nodes
| Property | Type | Required | Constraints |
|---|---|---|---|
id | id | yes | — |
name | string | no | minLength 1 |
kind | "2d" | "2.5d" | "3d" | yes | — |
nodes | array<node> | yes | — |
entityRefs | array<id> | no | — |
cameraRef | id | no | — |
lightRefs | array<id> | no | — |
layers | array<object> | no | — |
environment | environment | no | — |
effects | array<id> | no | — |
overlays | array<id> | no | — |
viewport | viewport | no | — |
background | paint | no | — |
coordinateSpace | coordinateSpace | no | — |
timelineRef | id | no | — |
layout | layout | no | — |
extensions | extensions | no | — |