index.wxml 426 B

1234567891011121314
  1. <xr-demo-viewer
  2. title="无光照glTF案例"
  3. intro="应用 KHR_materials_unlit 材质的glTF案例,常见于已烘焙光照到贴图与卡通渲染模型"
  4. code="{{xmlCode}}"
  5. >
  6. <xr-gltf-unlit
  7. disable-scroll
  8. id="main-frame"
  9. width="{{renderWidth}}"
  10. height="{{renderHeight}}"
  11. style="width:{{width}}px;height:{{height}}px;top:{{top}}px;left:{{left}}px;display:block;"
  12. a="123"
  13. />
  14. </xr-demo-viewer>