Skip to content
Roblox API Reference

Enum.PrimitiveType

Identifies the base primitive shape of a BasePart node within a CSG operation graph.
Items
6
Uses
0

Items6

  • Enum.PrimitiveType.Null = 0
    Sentinel value indicating no valid primitive shape; used for uninitialized or invalid nodes in a CSG operation graph.
  • Enum.PrimitiveType.Ball = 1
    A spherical primitive shape, corresponding to the ball/sphere geometry of a Part.
  • Enum.PrimitiveType.Cylinder = 2
    A cylindrical primitive shape, corresponding to the cylinder geometry of a Part.
  • Enum.PrimitiveType.Block = 3
    A 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.
  • Enum.PrimitiveType.Wedge = 4
    A wedge primitive shape, corresponding to the geometry of a WedgePart.
  • Enum.PrimitiveType.CornerWedge = 5
    A corner wedge primitive shape, corresponding to the geometry of a CornerWedgePart.

No class members use Enum.PrimitiveType.