mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
no message
This commit is contained in:
parent
18774bbf75
commit
3ebb64a0d3
@ -11,6 +11,7 @@ const codeForStructure = (code, project, camera, pluginState) => {
|
||||
cameraClone.object = cameraObject
|
||||
return `
|
||||
<template>
|
||||
<loading />
|
||||
<TresCanvas v-bind="state">
|
||||
${pluginState.orbitControls ? '<OrbitControls />' : ''}
|
||||
${camera ? `<Tres${camera.object.type} ref="cameraRef" uuid="${camera.object.uuid}" name="${camera.object.name}" />` : ''}
|
||||
@ -24,6 +25,7 @@ import { reactive, watch, ref } from 'vue'
|
||||
import { TresCanvas } from '@tresjs/core'
|
||||
import { OrbitControls } from '@tresjs/cientos'
|
||||
import sceneCom from '../components/scene.vue'
|
||||
import { loading2 as loading } from 'PLS/UIdemo'
|
||||
|
||||
const state = reactive({
|
||||
clearColor: '#201919',
|
||||
|
Loading…
x
Reference in New Issue
Block a user