index.wxml 770 B

123456789101112131415161718192021
  1. <xr-scene id="xr-scene" bind:ready="handleReady">
  2. <xr-assets bind:progress="handleAssetsProgress" bind:loaded="handleAssetsLoaded">
  3. <xr-asset-material asset-id="simple-mat" effect="simple" />
  4. </xr-assets>
  5. <xr-node>
  6. <xr-node node-id="camera-target" position="0 0 0"></xr-node>
  7. <xr-shadow id="geometryRoot" node-id="geometryRoot"></xr-shadow>
  8. <xr-camera
  9. id="camera" node-id="camera" position="2 2 4" clear-color="0.4 0.4 0.4 1"
  10. target="camera-target" near="0.1" far="2000"
  11. camera-orbit-control=""
  12. ></xr-camera>
  13. </xr-node>
  14. <xr-node node-id="lights">
  15. <xr-light type="ambient" color="1 1 1" intensity="1.2" />
  16. <xr-light type="directional" rotation="120 20 0" color="1 1 1" intensity="2" />
  17. </xr-node>
  18. </xr-scene>