import{n as i}from"./index-b54f5418.js";import"./three-dc46505d.js";var l=function(){var e=this,o=e.$createElement,n=e._self._c||o;return n("div",{staticClass:"VisBoxModel-container"},[n("de-collapse-layout",{attrs:{label:"设置",icon:"#iconshezhi","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[n("de-controller-picker",{attrs:{label:"颜色",animation:{target:e.config.vid,attribute:"color"}},model:{value:e.config.color,callback:function(t){e.$set(e.config,"color",t)},expression:"config.color"}}),n("de-controller-number",{attrs:{label:"亮度",step:.1,"drag-multply":10,min:0,"display-accuracy":1,animation:{target:e.config.vid,attribute:"intensity"}},model:{value:e.config.intensity,callback:function(t){e.$set(e.config,"intensity",t)},expression:"config.intensity"}}),n("de-controller-number",{attrs:{label:"范围",step:1,"drag-multply":5,min:0,"display-accuracy":0,animation:{target:e.config.vid,attribute:"distance"}},model:{value:e.config.distance,callback:function(t){e.$set(e.config,"distance",t)},expression:"config.distance"}}),n("de-controller-number",{attrs:{label:"衰减",step:.1,"drag-multply":5,min:0,"display-accuracy":1,animation:{target:e.config.vid,attribute:"decay"}},model:{value:e.config.decay,callback:function(t){e.$set(e.config,"decay",t)},expression:"config.decay"}})]},proxy:!0}])}),n("de-collapse-layout",{attrs:{label:"阴影",icon:"#iconshezhi","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[n("de-controller-number",{attrs:{keyframe:!1,label:"偏差",step:1e-4,"drag-multply":2,min:0},model:{value:e.config.shadow.bias,callback:function(t){e.$set(e.config.shadow,"bias",t)},expression:"config.shadow.bias"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"法线偏移",step:.1,"drag-multply":2,min:0},model:{value:e.config.shadow.normalBias,callback:function(t){e.$set(e.config.shadow,"normalBias",t)},expression:"config.shadow.normalBias"}}),n("de-controller-number",{attrs:{keyframe:!1,label:"阴影精度",step:1,"drag-multply":5,min:0},model:{value:e.mapSize,callback:function(t){e.mapSize=t},expression:"mapSize"}})]},proxy:!0}])})],1)},c=[];const r={props:{config:{type:Object,required:!0}},computed:{mapSize:{get(){return this.config.shadow.mapSize.x},set(e){this.config.shadow.mapSize.x=e,this.config.shadow.mapSize.y=e}}}},a={};var s=i(r,l,c,!1,u,null,null,null);function u(e){for(let o in a)this[o]=a[o]}const m=function(){return s.exports}();export{m as default};
