기술 자료

Unity Engine

Unity Engine

PrimitiveType

The various primitives that can be created using the GameObject.CreatePrimitive function.
읽는 시간 1분최근 업데이트: 한 달 전

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.