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
{
  "asset": {
    "version": "2.0",
    "generator": "estella test fixture"
  },
  "buffers": [
    {
      "byteLength": 140,
      "uri": "data:application/octet-stream;base64,AADIwgAAyEIAAAAAAADIQgAAyEIAAAAAAADIwgAAyMIAAAAAAADIQgAAyMIAAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8AAAIAAQABAAIAAwA="
    }
  ],
  "bufferViews": [
    {
      "buffer": 0,
      "byteOffset": 0,
      "byteLength": 48
    },
    {
      "buffer": 0,
      "byteOffset": 48,
      "byteLength": 48
    },
    {
      "buffer": 0,
      "byteOffset": 96,
      "byteLength": 32
    },
    {
      "buffer": 0,
      "byteOffset": 128,
      "byteLength": 12
    }
  ],
  "accessors": [
    {
      "bufferView": 0,
      "componentType": 5126,
      "count": 4,
      "type": "VEC3",
      "min": [
        -100,
        -100,
        0
      ],
      "max": [
        100,
        100,
        0
      ]
    },
    {
      "bufferView": 1,
      "componentType": 5126,
      "count": 4,
      "type": "VEC3"
    },
    {
      "bufferView": 2,
      "componentType": 5126,
      "count": 4,
      "type": "VEC2"
    },
    {
      "bufferView": 3,
      "componentType": 5123,
      "count": 6,
      "type": "SCALAR"
    }
  ],
  "images": [
    {
      "mimeType": "image/png",
      "uri": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAAD0lEQVR4nGP4//8/AwMDAA74Av7Ji4P1AAAAAElFTkSuQmCC"
    }
  ],
  "samplers": [
    {
      "magFilter": 9728,
      "minFilter": 9728
    }
  ],
  "textures": [
    {
      "sampler": 0,
      "source": 0
    }
  ],
  "materials": [
    {
      "name": "Glow",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          0,
          0,
          0,
          1
        ],
        "metallicFactor": 0,
        "roughnessFactor": 1
      },
      "emissiveFactor": [
        0,
        1,
        0
      ],
      "emissiveTexture": {
        "index": 0
      }
    },
    {
      "name": "Shaded",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          1,
          1,
          1,
          1
        ],
        "metallicFactor": 0,
        "roughnessFactor": 1
      },
      "occlusionTexture": {
        "index": 0,
        "strength": 1
      }
    },
    {
      "name": "Cutout",
      "pbrMetallicRoughness": {
        "baseColorFactor": [
          1,
          0,
          0,
          0.3
        ],
        "metallicFactor": 0,
        "roughnessFactor": 1
      },
      "alphaMode": "MASK",
      "alphaCutoff": 0.5
    }
  ],
  "meshes": [
    {
      "name": "GlowQuad",
      "primitives": [
        {
          "attributes": {
            "POSITION": 0,
            "NORMAL": 1,
            "TEXCOORD_0": 2
          },
          "indices": 3,
          "material": 0,
          "mode": 4
        }
      ]
    },
    {
      "name": "ShadedQuad",
      "primitives": [
        {
          "attributes": {
            "POSITION": 0,
            "NORMAL": 1,
            "TEXCOORD_0": 2
          },
          "indices": 3,
          "material": 1,
          "mode": 4
        }
      ]
    },
    {
      "name": "CutoutQuad",
      "primitives": [
        {
          "attributes": {
            "POSITION": 0,
            "NORMAL": 1,
            "TEXCOORD_0": 2
          },
          "indices": 3,
          "material": 2,
          "mode": 4
        }
      ]
    }
  ],
  "nodes": [
    {
      "name": "Glow",
      "mesh": 0,
      "translation": [
        -220,
        0,
        0
      ]
    },
    {
      "name": "Shaded",
      "mesh": 1,
      "translation": [
        0,
        0,
        0
      ]
    },
    {
      "name": "Cutout",
      "mesh": 2,
      "translation": [
        220,
        0,
        0
      ]
    }
  ],
  "scenes": [
    {
      "nodes": [
        0,
        1,
        2
      ]
    }
  ],
  "scene": 0
}