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.2 KB
Raw Blame
{
  "version": 4,
  "name": "ModelAnimation",
  "entities": [
    {
      "id": 0,
      "name": "Camera",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": { "position": { "x": 0, "y": 0, "z": 10 } }
        },
        {
          "type": "Camera",
          "data": { "projectionType": 1, "orthoSize": 200, "isActive": true, "priority": 0 }
        }
      ],
      "visible": true
    },
    {
      "id": 1,
      "name": "Mover",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": { "position": { "x": 150, "y": 0, "z": 0 } }
        },
        {
          "type": "MeshRenderer",
          "data": {
            "mesh": "scenes/moving-quad.esmesh",
            "color": { "r": 0, "g": 1, "b": 0, "a": 1 },
            "enabled": true
          }
        },
        {
          "type": "TimelinePlayer",
          "data": {
            "timeline": "scenes/moving-quad_Slide.estimeline",
            "playing": true,
            "speed": 1,
            "wrapMode": "once"
          }
        }
      ],
      "visible": true
    }
  ]
}