Adds a box
| <vizshape>.addBox( | |
| size = [1,1,1] | |
| right = True | |
| left = True | |
| top = True | |
| bottom = True | |
| front = True | |
| back = True | |
| splitFaces = False |
)
size = [1,1,1]
Box dimensions
right = True
If splitFaces = True and this argument is set to True a sub-node will be created for this face of the box.
left = True
If splitFaces = True and this argument is set to True a sub-node will be created for this face of the box.
top = True
If splitFaces = True and this argument is set to True a sub-node will be created for this face of the box.
bottom = True
If splitFaces = True and this argument is set to True a sub-node will be created for this face of the box.
front = True
If splitFaces = True and this argument is set to True a sub-node will be created for this face of the box.
back = True
If splitFaces = True and this argument is set to True a sub-node will be created for this face of the box.
splitFaces = False
When this argument is set to True sub-nodes will be created for each face of the box set to True.
This command will return a box that can be split into sub-nodes for the individual faces.
<node3D> object