box#
创建一个立方体#
图块代码

javascript
jih_doc.box(op, x, y, z, color)
python
jih_doc.box(op, x, y, z, color)
npl
jih_doc:box(op, x, y, z, color)
参数#
参数 |
类型 |
默认值 |
说明 |
---|---|---|---|
op |
string |
“union” |
|
x |
number |
1 |
|
y |
number |
1 |
|
z |
number |
1 |
|
color |
string |
“#ffc658” |
示例#
jih_doc.box("union", 1, 1, 1, "#ffc658")
jih_doc.box("union", 1, 1, 1, "#ffc658")
jih_doc:box("union", 1, 1, 1, "#ffc658")