123456789101112131415161718192021222324 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="renderer" content="webkit">
- <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=no" />
- <title>BimAngle.com - Trial version</title>
- <script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
- </head>
- <body>
- <!-- 如果不需要场景状态把属性 stats 删除即可 -->
- <a-scene stats>
- <a-assets>
- <a-asset-item id="modelAsset" src="./xuehualu0413.gltf" />
- </a-assets>
- <a-gltf-model id="model" src="#modelAsset" />
- <!-- 设置摄像头高度为 1.7 米,上方向为 Y 轴 -->
- <a-entity position="0 1.7 0">
- <a-camera />
- </a-entity>
- </a-scene>
- </body>
- </html>
|