设置场景高宽
<template>
<vue3dLoader
filePath="/models/gltf/DamagedHelmet.gltf"
:width="600"
outputEncoding="sRGB"
/>
</template>
<script lang="ts" setup>
import { vue3dLoader } from "vue-3d-loader";
</script>
<template>
<vue3dLoader
filePath="/models/gltf/DamagedHelmet.gltf"
:width="600"
outputEncoding="sRGB"
/>
</template>
<script lang="ts" setup>
import { vue3dLoader } from "vue-3d-loader";
</script>