Skip to main content

PrimitiveType

The various primitives that can be created using the GameObject.CreatePrimitive function. Unity PrimitiveType

Elements

ElementDescription
PrimitiveType.CapsuleA capsule primitive.
PrimitiveType.CubeA cube primitive.
PrimitiveType.CylinderA cylinder primitive.
PrimitiveType.PlaneA plane primitive.
PrimitiveType.QuadA quad primitive.
PrimitiveType.SphereA sphere primitive.