Go to: Related nodes. Attributes.

This node creates a polygonal Prism according to the number of sides, length of side, length of prism, and number of subdivisions around along length, and on the caps. UVs on the Prism are created according to the enumerated texture attribute.

Node nameParentsClassificationMFn typeCompatible function sets

Related nodes

polyCreator, polyCreateFace, polyPrimitive, polyTorus, polyPlane, polyCube, polyCone, polySphere, polyUnite, polyBoolOp, polyBlindData, mesh, polyPrism

Attributes (7)

createUVs, length, numberOfSides, sideLength, subdivisionsCaps, subdivisionsHeight, texture

Long name (short name)TypeDefaultFlags
length (l) distance (double)2.0cmoutputinputconnectablestorablekeyable
Length of the prism.
sideLength (w) distance (double)1.0cmoutputinputconnectablestorablekeyable
Side length of the prism.
numberOfSides (ns) integer3outputinputconnectablestorablekeyable
Number of sides of prism.
subdivisionsHeight (sh) integer1outputinputconnectablestorablekeyable
Subdivisions along the height.
subdivisionsCaps (sc) integer0outputinputconnectablestorablekeyable
Subdivisions on the caps
texture (tx) enum2outputinputconnectablestorable
What texture mechanism to be applied 0=No textures, 1=Object, 2=Faces
createUVs (cuv) enum2outputinputconnectablestorable
Create UVs or not.
  • 0: No UVs
  • 1: No Normalization
  • 2: Normalize
  • 3: Normalize and Preserve Aspect Ratio