Enum ShapeType
Describes each primitive ProBuilder can create by default. Pass to @"UnityEngine.ProBuilder.ShapeGenerator.CreateShape" to get a primitive with default parameters.
Namespace: UnityEngine.ProBuilder
Syntax
public enum ShapeType
Fields
| Name | Description | Value |
|---|---|---|
| Arch | A 180 degree arch. |
|
| Cone | Cone shape. |
|
| Cube | Cube shape. |
|
| CurvedStair | Curved stairs shape. |
|
| Cylinder | Cylinder shape. |
|
| Door | Door shape. |
|
| Pipe | Pipe shape. |
|
| Plane | A 10x10 plane with 2 subdivisions. |
|
| Prism | A prism shape. |
|
| Sphere | Sphere shape. Also called icosphere, or icosahedron. |
|
| Sprite | A 1x1 quad. |
|
| Stair | Stair shape. |
|
| Torus | Torus shape. |