PartType¶
Supported Enum
Controls the Part.Shape of an object.
Description¶
The PartType enum specifies the primitive geometry shape of a
Part, assigned through its Shape property. A new
Part defaults to Block. The five available shapes are Ball (sphere),
Block (rectangular prism), Cylinder (oriented along the X axis), Wedge (a ramp
with a slope on one face), and CornerWedge (a ramp with slopes on two
perpendicular faces).
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Ball |
0 | Supported | A spherical shape. |
Block |
1 | Supported | A block shape. |
Cylinder |
2 | Supported | A cylinder shape oriented along the X axis. |
Wedge |
3 | Not yet | A wedge shape with a slope on one side. |
CornerWedge |
4 | Not yet | A wedge shape with slopes on two sides. |
Roblox reference: PartType