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 nameParentsClassificationMFn typeCompatible function sets
polyCubepolyPrimitivegeometrykPolyCubekBase
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)TypeDefaultFlags
createUVs (cuv) enum3outputinputconnectablestorable
Create UVs or not.
  • 0: No UVs
  • 1: No Normalization
  • 2: Normalize Each Face Separately
  • 3: Normalize Collectively
  • 4: Normalize and Preserve Aspect Ratio
depth (d) distance (double)1.0cmoutputinputconnectablestorablekeyable
Depth of the cube.
height (h) distance (double)1.0cmoutputinputconnectablestorablekeyable
Height of the cube.
texture (tx) enum1outputinputconnectablestorable
What texture mechanism to be applied 0=No textures; 1=Object; 2=Faces
width (w) distance (double)1.0cmoutputinputconnectablestorablekeyable
Width of the cube.
subdivisionsWidth (sw) integer1outputinputconnectablestorablekeyable
Subdivisions along the width of the cube.
subdivisionsHeight (sh) integer1outputinputconnectablestorablekeyable
Subdivisions along the height of the cube.
subdivisionsDepth (sd) integer1outputinputconnectablestorablekeyable
Subdivisions along the depth of the cube.