Roblox UtilitiesDevlHub Roblox Documentation

Enum

PrimitiveType

Identifies the base primitive shape of a BasePart node within a CSG operation graph.

Identifies the base primitive shape of a BasePart node within a CSG (Constructive Solid Geometry) operation graph (OperationGraph). Used when performing union, negate, and intersect operations to determine how each input part's geometry is represented during the operation.

Items 6#

NameValueSummary
Null0Sentinel value indicating no valid primitive shape; used for uninitialized or invalid nodes in a CSG operation graph.
Ball1A spherical primitive shape, corresponding to the ball/sphere geometry of a Part.
Cylinder2A cylindrical primitive shape, corresponding to the cylinder geometry of a Part.
Block3A box primitive shape, corresponding to the standard rectangular block geometry of a Part; the default primitive type for new Part nodes in a CSG operation graph.
Wedge4A wedge primitive shape, corresponding to the geometry of a WedgePart.
CornerWedge5A corner wedge primitive shape, corresponding to the geometry of a CornerWedgePart.