htmlソースコード

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>View</title>
    <meta name="description" content="View">
    <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
    <script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
  </head>
  <body>
    <a-scene embedded arjs>
        <a-assets>
          <a-asset-item id="test01" src="scene.gltf"></a-asset-item>
        </a-assets>
     
      <a-marker preset="hiro">
                <a-entity  position="0 0 0"
                    rotation="0 0 0"
                    scale="0.4 0.4 0.4"
                    gltf-model="#test01" >
        </a-entity>
      </a-marker>
     
      <a-entity camera></a-entity>
    </a-scene>
  </body>
</html>

最終更新日時: 2021年 12月 2日(Thursday) 00:58