Skip to main content

Scene

Asset ID:scene

A scene is a collection of entities

Asset schema properties

uuid

uuid

Unique identifier for the asset

name

string

Name of the asset

aabb

object

{

max,

min,

}

Bounding box in local space

entities

array[object]

Flat list of entities

settings

object

Settings in json format

triangleCount

uint32

Total number of direct triangles in the scene



Example

{
"uuid": "33333333-3333-3333-3333-333333333333",
"name": "Scene with Cube",
"aabb": {
"min": [-0.5, -0.5, -0.5],
"max": [0.5, 0.5, 0.5]
},
"entities": [
{
"euid": {
"value": "00000000-1111-2222-3333-444444444444"
},
"debug_name": {
"value": "Cube Entity"
},
"lineage": {
"ordinal": 0,
"parentUUID": "00000000-0000-0000-0000-000000000000"
},
"local_transform": {
"position": [0.0, 0.0, 0.0],
"scale": [1.0, 1.0, 1.0],
"orientation": [0.0, 0.0, 0.0, 1.0]
},
"mesh_ref": {
"value": "11111111-1111-1111-1111-111111111111",
"submeshIndex": 0,
"shadowCastingMode": 1
},
"material_ref": {
"value": "22222222-2222-2222-2222-222222222222"
},
"local_aabb": {
"min": [-0.5, -0.5, -0.5],
"max": [0.5, 0.5, 0.5]
}
}
]
}