PhysicsConstants
Constants used throughout the 2D physics system.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public readonly struct PhysicsConstants
Static Fields
Value | Description |
|---|---|
| MaxPolygonVertices | The maximum number of supported vertices in PolygonGeometry. |
| MaxWorkers | A constant defining the maximum number of worker threads supported by physics simulation. The current device may support fewer or more than this. |
| MaxWorlds | The maximum number of simultaneous active PhysicsWorld allowed. |