Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

1.5 KB
Raw Blame
{
  "version": 4,
  "name": "LightmapUnlit",
  "entities": [
    {
      "id": 0,
      "name": "Camera",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 10
            }
          }
        },
        {
          "type": "Camera",
          "data": {
            "projectionType": 1,
            "orthoSize": 100,
            "isActive": true,
            "priority": 0
          }
        }
      ]
    },
    {
      "id": 1,
      "name": "Baked",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "MeshRenderer",
          "data": {
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 1
            },
            "layer": 0,
            "enabled": true,
            "lit": false,
            "mesh": "/scenes/lightmap-quad.esmesh"
          }
        },
        {
          "type": "MeshLightmap",
          "data": {
            "lightmap": "@uuid:bbbbbbbb-1111-2222-3333-666666666666",
            "scaleOffset": {
              "x": 1,
              "y": 1,
              "z": 0,
              "w": 0
            }
          }
        }
      ]
    }
  ]
}