1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| /**
| * 仓库区域
| * @param option
| * @constructor
| */
| function Store(option) {
| let optionCube = {
| length: option.Length,
| width: option.Width,
| height: option.Height,
| position: {
| x: option.Position.X,
| y: option.Position.Y,
| z: option.Position.Z
| },
| style: {
| transparent:1,
| opacity:0.2,
| color: 0x17CEBC,
| depthTest:0
| },
|
| };
| let cube = new Cube(optionCube);
| cube.name=option.Name;
| cube.uuid=option.No;
| cube.type="Store";
| return cube;
| }
|
|