import"./index-M_JNBppB.js";import"./el-collapse-item-l0sNRNKZ.js";/* empty css                     *//* empty css                 *//* empty css                        */import{ax as d,c as i,y as p,z as V,F as m,O as e}from"./vue-BJk78QHK.js";import{a as f,b as v,n as c,u as _}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";const I={__name:"CameraAttr",setup(b){const r=d(),a=i(()=>r.state.curComponent.propValue);return(z,l)=>{const t=c,u=v,n=f,s=_;return V(),p(s,{title:"相机",name:"camera"},{default:m(()=>[e(n,{class:"more-form","label-position":"left","label-width":"100px"},{default:m(()=>[e(u,{label:"相机位置X:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.cameraPosition.x,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value.camera.cameraPosition.x=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"相机位置Y:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.cameraPosition.y,"onUpdate:modelValue":l[1]||(l[1]=o=>a.value.camera.cameraPosition.y=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"相机位置Z:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.cameraPosition.z,"onUpdate:modelValue":l[2]||(l[2]=o=>a.value.camera.cameraPosition.z=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"相机对准点X:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.cameraLookAt.x,"onUpdate:modelValue":l[3]||(l[3]=o=>a.value.camera.cameraLookAt.x=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"相机对准点Y:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.cameraLookAt.y,"onUpdate:modelValue":l[4]||(l[4]=o=>a.value.camera.cameraLookAt.y=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"相机对准点Z:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.cameraLookAt.z,"onUpdate:modelValue":l[5]||(l[5]=o=>a.value.camera.cameraLookAt.z=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"fov眼球角度:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.fov,"onUpdate:modelValue":l[6]||(l[6]=o=>a.value.camera.fov=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"near最近距离:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.near,"onUpdate:modelValue":l[7]||(l[7]=o=>a.value.camera.near=o)},null,8,["modelValue"])]),_:1}),e(u,{label:"far最远距离:"},{default:m(()=>[e(t,{size:"small",modelValue:a.value.camera.far,"onUpdate:modelValue":l[8]||(l[8]=o=>a.value.camera.far=o)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})}}};export{I as default};
