import{n as r}from"./index-b54f5418.js";import"./three-dc46505d.js";var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"LineShapeGeometry-container"},[t("de-collapse-layout",{attrs:{label:"路径",icon:"#iconjichubianhuan","arrow-position":"left"},scopedSlots:e._u([{key:"container",fn:function(){return[t("el-button",{staticClass:"path-add",attrs:{size:"mini",type:"primary",icon:"el-icon-circle-plus-outline"},on:{click:e.addPoint}},[e._v(" 添加路径 ")]),e._l(e.config.path,function(o,i){return t("div",{key:i,staticClass:"path-point-item"},[t("de-controller-vector2",{attrs:{keyframe:!1,label:"锚点"+i,step:1,"display-accuracy":2,value:o}}),t("i",{directives:[{name:"show",rawName:"v-show",value:e.config.path.length>1,expression:"config.path.length > 1"}],staticClass:"el-icon-delete",on:{click:function(_){return e.deletePoint(i)}}})],1)})]},proxy:!0}])}),t("de-controller-number",{attrs:{keyframe:!1,label:"分段",step:1,"drag-multply":2,min:3},model:{value:e.config.curveSegments,callback:function(o){e.$set(e.config,"curveSegments",o)},expression:"config.curveSegments"}})],1)},s=[];const l={props:{config:{type:Object,required:!0}},methods:{addPoint(){this.config.path.push({x:0,y:0,z:0})},deletePoint(e){this.config.path.splice(e,1)}}},a={};var u=r(l,c,s,!1,p,"38d41a52",null,null);function p(e){for(let n in a)this[n]=a[n]}const m=function(){return u.exports}();export{m as default};
