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.

2.2 KB
Raw Blame
{
  "asset": {
    "version": "2.0",
    "generator": "estella test fixture"
  },
  "buffers": [
    {
      "byteLength": 60,
      "uri": "data:application/octet-stream;base64,AABwwgAAcEIAAAAAAABwQgAAcEIAAAAAAABwwgAAcMIAAAAAAABwQgAAcMIAAAAAAAACAAEAAQACAAMA"
    }
  ],
  "bufferViews": [
    {
      "buffer": 0,
      "byteOffset": 0,
      "byteLength": 48
    },
    {
      "buffer": 0,
      "byteOffset": 48,
      "byteLength": 12
    }
  ],
  "accessors": [
    {
      "bufferView": 0,
      "componentType": 5126,
      "count": 4,
      "type": "VEC3",
      "min": [
        -60,
        -60,
        0
      ],
      "max": [
        60,
        60,
        0
      ]
    },
    {
      "bufferView": 1,
      "componentType": 5123,
      "count": 6,
      "type": "SCALAR"
    }
  ],
  "materials": [
    {
      "name": "Red",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          1,
          0,
          0,
          1
        ],
        "metallicFactor": 0
      }
    },
    {
      "name": "Green",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          0,
          1,
          0,
          1
        ],
        "metallicFactor": 0
      }
    }
  ],
  "meshes": [
    {
      "name": "Left",
      "primitives": [
        {
          "attributes": {
            "POSITION": 0
          },
          "indices": 1,
          "material": 0,
          "mode": 4
        }
      ]
    },
    {
      "name": "Right",
      "primitives": [
        {
          "attributes": {
            "POSITION": 0
          },
          "indices": 1,
          "material": 1,
          "mode": 4
        }
      ]
    }
  ],
  "nodes": [
    {
      "name": "Model",
      "translation": [
        40,
        0,
        0
      ],
      "children": [
        1,
        2
      ]
    },
    {
      "name": "Left",
      "mesh": 0,
      "translation": [
        -120,
        60,
        0
      ]
    },
    {
      "name": "Right",
      "mesh": 1,
      "translation": [
        120,
        -60,
        0
      ],
      "scale": [
        0.5,
        0.5,
        1
      ]
    }
  ],
  "scenes": [
    {
      "nodes": [
        0
      ]
    }
  ],
  "scene": 0
}