Enum ShapeType
This enum describes each primitive shape that ProBuilder can create by default. To get a primitive with default parameters, use one of these values when calling CreateShape(ShapeType, PivotLocation).
Namespace: UnityEngine.ProBuilder
Assembly: Unity.ProBuilder.dll
Syntax
public enum ShapeType
Fields
Name | Description |
---|---|
Arch | Arch shape (180 degrees). |
Cone | Cone shape. |
Cube | Cube shape. |
CurvedStair | Curved stairs shape. |
Cylinder | Cylinder shape. |
Door | Door shape. |
Pipe | Pipe shape. |
Plane | Plane shape with 2 subdivisions and 10x10 units size. |
Prism | Prism shape. |
Sphere | Sphere shape. Sometimes called "icosphere", or "icosahedron". |
Sprite | Sprite shape (1x1 quad). |
Stair | Straight stairs shape. |
Torus | Torus shape. |