Go to: Related nodes. Attributes.
This node creates a polygonal cube according to the width, height,
depth, and number of subdivisions in X, Y, and Z. UVs on the cube
are created if the texture attribute is set to true.
Node name |
Parents |
MFn type |
Compatible function sets |
polyCube |
polyPrimitive |
kPolyCube |
kBase
kNamedObject
kDependencyNode
kPolyCreator
kPolyPrimitive
kPolyCube |
Related nodes
polyCreator, polyCreateFace, polyPrimitive, polyTorus, polyPlane, polyCone, polySphere, polyCylinder, polyUnite, polyBoolOp, polyBlindData, mesh
Attributes (8)
createUVs, depth, height, subdivisionsDepth, subdivisionsHeight, subdivisionsWidth, texture, width
Long name (short name) |
Type |
Default |
Flags |
|
width
(w ) |
distance
(double) |
1.0cm |
|
|
height
(h ) |
distance
(double) |
1.0cm |
|
|
depth
(d ) |
distance
(double) |
1.0cm |
|
|
subdivisionsWidth
(sw ) |
integer |
1 |
|
|
subdivisionsHeight
(sh ) |
integer |
1 |
|
|
subdivisionsDepth
(sd ) |
integer |
1 |
|
|
texture
(tx ) |
enum |
1 |
|
|
createUVs
(cuv ) |
enum |
3 |
|