| Parameter | Description |
|---|---|
| result | The result to use. |
| color | The color to draw with. |
| lifetime | How long the element should be drawn for, in seconds. The default is zero indicating that it should only be drawn once. Lifetime is only used when the world is playing. |
| drawPoint | Whether to draw the point in the result or not. |
| drawNormal | Whether to draw the normal in the result or not. |
Draw the CastResult returned from multiple queries. Only a result where Unity.U2D.Physics.PhysicsQuery.CastResult._hit is true is drawn.
| Parameter | Description |
|---|---|
| results | The results to use. |
| color | The color to draw with. |
| lifetime | How long the element should be drawn for, in seconds. The default is zero indicating that it should only be drawn once. Lifetime is only used when the world is playing. |
| drawPoint | Whether to draw the point in the result or not. |
| drawNormal | Whether to draw the normal in the result or not. |
Draw the CastResult returned from multiple queries. Only a result where Unity.U2D.Physics.PhysicsQuery.CastResult._hit is true is drawn.
| Parameter | Description |
|---|---|
| result | The result to use. |
| color | The color to draw with. |
| lifetime | How long the element should be drawn for, in seconds. The default is zero indicating that it should only be drawn once. Lifetime is only used when the world is playing. |
| drawPoint | Whether to draw the point in the result or not. |
| drawNormal | Whether to draw the normal in the result or not. |
Draw the WorldCastResult returned from multiple queries.
| Parameter | Description |
|---|---|
| results | The results to use. |
| color | The color to draw with. |
| lifetime | How long the element should be drawn for, in seconds. The default is zero indicating that it should only be drawn once. Lifetime is only used when the world is playing. |
| drawPoint | Whether to draw the point in the result or not. |
| drawNormal | Whether to draw the normal in the result or not. |
Draw the WorldCastResult returned from multiple queries.