Module

Scene

Renderable scene tree and its semantic, entity and component bindings.

Raw schema: /schema/1.0/modules/scene.schema.json

content

type: object

PropertyTypeRequiredConstraints
text string no minLength 1
assetRef id no —
alt string no minLength 1
runs array<object> no —
fit "contain" | "cover" | "fill" | "none" | "scale-down" no —
objectPosition vector2 no —
chart chart no —

node

type: object · required: id, kind

PropertyTypeRequiredConstraints
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 —

scene

type: object · required: id, kind, nodes

PropertyTypeRequiredConstraints
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 —