render(context, body, color, filled)
Render Sprite Body.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
context | object | The context to render to. | ||
body | Phaser.Physics.Arcade.Body | The Body to render the info of. | ||
color | string | <optional> | 'rgba(0,255,0,0.4)' | color of the debug info to be rendered. (format is css color string). |
filled | boolean | <optional> | true | Render the objected as a filled (default, true) or a stroked (false) |
- Source code: physics/arcade/Body.js (Line 1424)
Please login to continue.