Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PrimitiveType

The various primitives that can be created using the GameObject.CreatePrimitive function.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum PrimitiveType

Remarks

Additional Resources: GameObject.CreatePrimitive.

Fields

Value

Description

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