Adds a pyramid
| <vizshape>.addPyramid( | |
| base = [1.0,1.0] | |
| height = 1.0 | |
| axis = vizshape.AXIS_Y | |
| splitFaces = False |
)
base = [1.0,1.0]
Dimensions of base
height = 1.0
Pyramid height
axis = vizshape.AXIS_Y
Can be a positive or negative value of one of the following:
|
value |
description |
|
vizshape.AXIS_X |
Shape will point toward the X axis when added |
|
vizshape.AXIS_Y |
Shape will point toward the Y axis when added |
|
vizshape.AXIS_Z |
Shape will point toward the Z axis when added |
splitFaces = False
Setting the splitFaces argument to True will split up each face of the pyramid into a separate sub-node with the following names: bottom, front, back, left, right.
This command will add a pyramid.
<node3d> object