{ "name": "border3dmap-water", "version": "1.0.2", "description": "border3dmap子组件", "main": "index.js", "scripts": { "build": "cube build ./ --output=../../datavComponent --remote=pandav --smart" }, "keywords": [ "map", "subcoms" ], "dependencies": { "eventemitter3": "3.0.0", "safely-merge": "1.0.1", "lodash": "4.17.11" }, "pandav": { "cn_name": "海洋", "level": 1, "protocol": 2, "type": [ "Border3dmap-v1_subcoms_water" ], "parent": { "supportTypes": [ "Border3dmap-v1" ], "supportNames": [] }, "publicHandler": {}, "events": {}, "api_data": { "source": [] }, "apis": { "source": { "description": "数据接口", "handler": "render", "fields": {} } }, "config": { "options": { "type": "menu", "children": { "common": { "name": "基础配置", "type": "menuChild", "mode": "single", "children": { "useDepth": { "name": "自动排序", "type": "switch", "default": true }, "layer": { "name": "层级序号", "type": "number", "default": 1, "max": 10000, "min": -10000, "show": [ [ "useDepth", "$eq", false ] ] } } }, "params": { "name": "参数设置", "type": "menuChild", "mode": "single", "children": { "position": { "type": "suite", "name": "偏移", "children": { "x": { "name": "X", "default": 0, "type": "number", "col": 8 }, "y": { "name": "Y", "default": -10, "type": "number", "col": 8 }, "z": { "name": "Z", "default": 0, "type": "number", "col": 8 } } }, "color": { "name": "颜色", "default": "#041922", "type": "color" }, "metalness": { "name": "金属度", "type": "number", "default": 0.2, "min": 0, "max": 1, "step": 0.001, "range": [ 0, 1 ] }, "roughness": { "name": "粗糙度", "type": "number", "default": 0.083, "min": 0, "max": 1, "step": 0.001, "range": [ 0, 1 ] }, "waveList": { "name": "水波", "type": "tabs", "default": [ { "texture": "/civ_pandaview_component/pandabi-component/assets/components/borderMap3dV2/water_normal.png", "normalStrength": 0.144, "scale": { "x": 0.035, "y": 0.04 }, "flowSpeed": 5, "flowDirection": { "x": 1, "y": 0 } }, { "texture": "/civ_pandaview_component/pandabi-component/assets/components/borderMap3dV2/water_normal.png", "normalStrength": 0.144, "scale": { "x": 0.04, "y": 0.06 }, "flowSpeed": 4.4, "flowDirection": { "x": -1, "y": 0 } }, { "texture": "/civ_pandaview_component/pandabi-component/assets/components/borderMap3dV2/water_normal.png", "normalStrength": 0.197, "scale": { "x": 0.005, "y": 0.01 }, "flowSpeed": 3.5, "flowDirection": { "x": 0.2576, "y": 0.9698 } } ], "fold": false, "template": { "name": "水波<%=i+1%>", "type": "object", "children": { "texture": { "name": "法线贴图", "type": "image", "default": "" }, "normalStrength": { "name": "法线强度", "type": "number", "default": 0.144 }, "scale": { "type": "suite", "name": "偏移", "children": { "x": { "name": "X", "default": 0.035, "type": "number", "col": 12, "min": 0 }, "y": { "name": "Y", "default": 0.04, "type": "number", "col": 12, "min": 0 } } }, "flowSpeed": { "name": "流动速度", "type": "number", "default": 5 }, "flowDirection": { "type": "group", "name": "流动方向", "children": { "x": { "name": "X", "default": 1, "type": "number", "min": -1, "max": 1, "step": 0.0001 }, "y": { "name": "Y", "default": 0, "type": "number", "min": -1, "max": 1, "step": 0.0001 } } } } } } } }, "effect": { "name": "效果", "type": "menuChild", "mode": "single", "children": { "noTiled": { "name": "消除重复感", "type": "group", "enableHide": true, "children": { "show": { "default": false }, "frequency": { "name": "频率", "default": 0.005, "min": 0, "type": "number" }, "amplitude": { "name": "幅度", "default": 20, "min": 0, "type": "number" } } }, "refract": { "name": "折射", "type": "group", "enableHide": true, "children": { "show": { "default": false }, "transmission": { "name": "透射率", "default": 0.5, "min": 0, "type": "number", "max": 1, "step": 0.001 }, "refractDistance": { "name": "折射距离", "default": 1, "min": 0, "type": "number" }, "ior": { "name": "折射率", "default": 1.33, "min": 0, "type": "number" }, "scatteringDistance": { "name": "散射距离", "default": 0, "min": 0, "type": "number" }, "shallowestColor": { "name": "最浅颜色", "default": "#22363D", "type": "color" }, "deepestColor": { "name": "最深颜色", "default": "#22363D", "type": "color" } } } } } } } } } }