PrimitiveType
The various primitives that can be created using the GameObject.CreatePrimitive function. Unity PrimitiveType
Elements
Element | Description |
---|---|
PrimitiveType.Capsule | A capsule primitive. |
PrimitiveType.Cube | A cube primitive. |
PrimitiveType.Cylinder | A cylinder primitive. |
PrimitiveType.Plane | A plane primitive. |
PrimitiveType.Quad | A quad primitive. |
PrimitiveType.Sphere | A sphere primitive. |