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.

3.8 KB
Raw Blame
{
 "version": 4,
 "name": "ProbeCapture",
 "entities": [
  {
   "id": 0,
   "name": "Camera",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 330
      }
     }
    },
    {
     "type": "Camera",
     "data": {
      "projectionType": 0,
      "fov": 50,
      "nearPlane": 1,
      "farPlane": 5000,
      "isActive": true,
      "priority": 0
     }
    }
   ]
  },
  {
   "id": 1,
   "name": "Ball",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 0
      },
      "scale": {
       "x": 1.5,
       "y": 1.5,
       "z": 1.5
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:sphere",
      "color": {
       "r": 1,
       "g": 1,
       "b": 1,
       "a": 1
      },
      "lit": true,
      "opaque": true,
      "cullBackfaces": true,
      "enabled": true
     }
    }
   ]
  },
  {
   "id": 2,
   "name": "Red",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 300,
       "y": 0,
       "z": 0
      },
      "scale": {
       "x": 0.1,
       "y": 6,
       "z": 6
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "color": {
       "r": 1,
       "g": 0,
       "b": 0,
       "a": 1
      },
      "lit": false,
      "opaque": true,
      "cullBackfaces": false,
      "enabled": true
     }
    }
   ]
  },
  {
   "id": 3,
   "name": "Blue",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": -300,
       "y": 0,
       "z": 0
      },
      "scale": {
       "x": 0.1,
       "y": 6,
       "z": 6
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "color": {
       "r": 0,
       "g": 0,
       "b": 1,
       "a": 1
      },
      "lit": false,
      "opaque": true,
      "cullBackfaces": false,
      "enabled": true
     }
    }
   ]
  },
  {
   "id": 4,
   "name": "Green",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 300,
       "z": 0
      },
      "scale": {
       "x": 6,
       "y": 0.1,
       "z": 6
      }
     }
    },
    {
     "type": "MeshRenderer",
     "data": {
      "mesh": "builtin:cube",
      "color": {
       "r": 0,
       "g": 1,
       "b": 0,
       "a": 1
      },
      "lit": false,
      "opaque": true,
      "cullBackfaces": false,
      "enabled": true
     }
    }
   ]
  },
  {
   "id": 5,
   "name": "Capture",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 0
      }
     }
    },
    {
     "type": "LightProbeVolume",
     "data": {
      "halfExtents": {
       "x": 250,
       "y": 250,
       "z": 250
      },
      "capture": true,
      "captureInterval": 0,
      "enabled": true
     }
    }
   ]
  },
  {
   "id": 6,
   "name": "Post",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 0
      }
     }
    },
    {
     "type": "PostProcessVolume",
     "data": {
      "isGlobal": true,
      "priority": 0,
      "weight": 1,
      "effects": [
       {
        "type": "vignette",
        "enabled": true,
        "uniforms": {
         "u_intensity": 0
        }
       }
      ]
     }
    }
   ]
  }
 ]
}