index.wxml 778 B

123456789101112131415161718
  1. <xr-scene id="xr-scene" bind:ready="handleReady">
  2. <xr-assets>
  3. </xr-assets>
  4. <xr-node>
  5. <xr-shadow id="shadow-root"></xr-shadow>
  6. <!-- <xr-mesh position="0 -0.06 0" scale="1.4 0.1 1.4" uniforms="u_baseColorFactor:0.3 0.4 0.6 1" geometry="cube"></xr-mesh> -->
  7. <xr-mesh id="animation-mesh" node-id="animation-mesh" position="0 0 0" scale="1 1 1" geometry="plane"></xr-mesh>
  8. <xr-camera
  9. id="camera" node-id="camera" position="0 3 0" clear-color="0.925 0.925 0.925 1"
  10. target="animation-mesh"
  11. camera-orbit-control="true"
  12. ></xr-camera>
  13. </xr-node>
  14. <xr-node node-id="lights">
  15. <xr-light type="ambient" color="1 1 1" intensity="1" />
  16. <xr-light type="directional" rotation="40 170 0" color="1 1 1" intensity="3"/>
  17. </xr-node>
  18. </xr-scene>