import{n as a}from"./index-b54f5418.js";import"./three-dc46505d.js";var i=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"DeepWater-container"},[t("de-collapse-layout",{attrs:{label:"深水域",icon:"#iconshezhi","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[t("de-controller-picker",{attrs:{label:"水纹色泽",animation:{target:e.config,attribute:"waterColor"}},model:{value:e.config.waterColor,callback:function(o){e.$set(e.config,"waterColor",o)},expression:"config.waterColor"}}),t("de-controller-picker",{attrs:{label:"光照色泽",animation:{target:e.config,attribute:"sunColor"}},model:{value:e.config.sunColor,callback:function(o){e.$set(e.config,"sunColor",o)},expression:"config.sunColor"}}),t("de-controller-number",{attrs:{label:"失真度",step:.1,"drag-multply":5,min:0,animation:{target:e.config,attribute:"distortionScale"}},model:{value:e.config.distortionScale,callback:function(o){e.$set(e.config,"distortionScale",o)},expression:"config.distortionScale"}}),t("de-controller-number",{attrs:{label:"纹理大小",step:.1,"drag-multply":3,min:0,animation:{target:e.config,attribute:"size"}},model:{value:e.config.size,callback:function(o){e.$set(e.config,"size",o)},expression:"config.size"}}),t("de-controller-select",{attrs:{label:"水纹法线",options:e.textureList,prop:{label:"name",value:"vid"},animation:{target:e.config,attribute:"waterNormals"}},model:{value:e.config.waterNormals,callback:function(o){e.$set(e.config,"waterNormals",o)},expression:"config.waterNormals"}}),t("de-controller-select",{attrs:{label:"几何",options:e.geometryList,prop:{label:"name",value:"vid"},animation:{target:e.config,attribute:"geometry"}},model:{value:e.config.geometry,callback:function(o){e.$set(e.config,"geometry",o)},expression:"config.geometry"}})]},proxy:!0}])})],1)},l=[];const s={components:{},props:{config:{type:Object,required:!0}},computed:{geometryList(){return this.$store.getters["geometry/list"]},textureList(){const e=[{name:"无",vid:""}],r=this.$store.getters["texture/get"];return Object.keys(r).forEach(t=>{e.push({vid:t,name:r[t].name})}),e}}},n={};var c=a(s,i,l,!1,u,null,null,null);function u(e){for(let r in n)this[r]=n[r]}const g=function(){return c.exports}();export{g as default};
