| Parameter | Description |
|---|---|
| world | The world which was drawn. |
| drawResults | The draw results for the world. These may be invalid i.e. contain no results. This can be quickly checked with PhysicsWorld.DrawResults.isValid. |
Event handler for a world draw results event callback. This is only called if the world is currently rendering as specified by PhysicsWorld.renderingMode or if PhysicsCoreSettings2D.alwaysDrawWorlds is true. CAUTION: The world is READ locked during this event so ANY write operation on the world will cause an immediate deadlock.