clearFlagsPerJob
Controls the minimum number of flags to be cleared in each simulation job.
阅读时间1 分钟最后更新于 25 天前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public int clearFlagsPerJob { get; set; }
Remarks
For an overview of these properties and advice on how to use them, see PhysicsJobOptions2D.
The following job profiler names are affected by this property:
• Physics2D.ClearContactIslandFlagsJob
• Physics2D.ClearBodyIslandFlagsJob.