Module
Game
Visual-only game profile: levels, HUD, characters, animation controllers, spatial UI and cutscenes.
Raw schema: /schema/1.0/modules/game.schema.json
spatialUI
type: object · required: mode
| Property | Type | Required | Constraints |
|---|---|---|---|
mode | "world-space" | "screen-space" | "anchored" | "entity-attached" | yes | — |
anchorRef | id | no | — |
billboard | "none" | "camera" | "axis-y" | no | — |
occlusion | "depth-test" | "always-visible" | "fade" | no | — |
scaleMode | "world" | "screen" | "distance" | no | — |
interaction | "pointer" | "gaze" | "ray" | "direct" | "none" | no | — |
distance | number | no | min 0 |
character
type: object · required: id, entityRef
| Property | Type | Required | Constraints |
|---|---|---|---|
id | id | yes | — |
entityRef | id | yes | — |
rigRef | id | no | — |
skeletonRef | id | no | — |
animationController | object | no | — |
visualStateMappings | object | no | — |
extensions | extensions | no | — |
level
type: object · required: id, sceneRefs
| Property | Type | Required | Constraints |
|---|---|---|---|
id | id | yes | — |
name | string | no | minLength 1 |
sceneRefs | array<id> | yes | — |
areas | array<object> | no | — |
environment | environment | no | — |
extensions | extensions | no | — |
game
type: object
| Property | Type | Required | Constraints |
|---|---|---|---|
worldRef | id | no | — |
levels | array<level> | no | — |
characters | array<character> | no | — |
hud | object | no | — |
cameraRef | id | no | — |
visualStates | array<object> | no | — |
cutscenes | array<object> | no | — |
spatialUI | array<spatialUI> | no | — |
extensions | extensions | no | — |