ドキュメント

Unity Engine

Unity Engine

PhysicsShapeType2D

Options for indicate which primitive shape type is used to interpret geometry contained within a PhysicsShape2D object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public enum PhysicsShapeType2D

Remarks

Additional Resources: PhysicsShape2D.shapeType.

Fields

Value

Description

CapsuleUse a capsule shape to interpret the PhysicsShape2D geometry.
CircleUse a circle shape to interpret the PhysicsShape2D geometry.
EdgesUse multiple edges to interpret the PhysicsShape2D geometry.
PolygonUse a convex polygon shape to interpret the PhysicsShape2D geometry.