import{n as a}from"./index-b54f5418.js";import"./three-dc46505d.js";var r=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"obejct3D-container"},[o("de-collapse-layout",{attrs:{label:"粒子设置",icon:"#iconshezhi","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[o("de-controller-number",{attrs:{keyframe:!1,label:"数量",step:1,"drag-multply":5,min:0},model:{value:e.config.amount,callback:function(t){e.$set(e.config,"amount",t)},expression:"config.amount"}}),o("de-controller-number",{attrs:{keyframe:!1,label:"尺寸",step:1,"drag-multply":1,min:0},model:{value:e.config.size,callback:function(t){e.$set(e.config,"size",t)},expression:"config.size"}}),o("de-controller-number",{attrs:{keyframe:!1,label:"透明度",step:.01,"drag-multply":3,min:0,max:1},model:{value:e.config.opacity,callback:function(t){e.$set(e.config,"opacity",t)},expression:"config.opacity"}}),o("de-controller-number",{attrs:{keyframe:!1,label:"浮动范围",step:.1,"drag-multply":3,min:0},model:{value:e.config.floatRange,callback:function(t){e.$set(e.config,"floatRange",t)},expression:"config.floatRange"}}),o("de-controller-picker",{attrs:{keyframe:!1,label:"颜色"},model:{value:e.config.refColor,callback:function(t){e.$set(e.config,"refColor",t)},expression:"config.refColor"}}),o("de-controller-number",{attrs:{keyframe:!1,label:"色彩范围",step:.01,"drag-multply":3,min:0,max:1},model:{value:e.config.colorRange,callback:function(t){e.$set(e.config,"colorRange",t)},expression:"config.colorRange"}}),o("de-controller-select",{attrs:{keyframe:!1,label:"粒子贴图",options:e.textureList,prop:{label:"name",value:"vid"}},model:{value:e.config.alphaMap,callback:function(t){e.$set(e.config,"alphaMap",t)},expression:"config.alphaMap"}})]},proxy:!0}])})],1)},c=[];const s={props:{config:{type:Object,required:!0}},computed:{textureList(){const e=[{name:"无",vid:""}],n=this.$store.getters["texture/get"];return Object.keys(n).forEach(o=>{e.push({vid:o,name:n[o].name})}),e}}},l={};var i=a(s,r,c,!1,f,null,null,null);function f(e){for(let n in l)this[n]=l[n]}const p=function(){return i.exports}();export{p as default};
