ropeSegments(rope, color, filled)
Renders the Rope's segments. Note: This is really expensive as it has to calculate new segments every time you call it
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
rope | Phaser.Rope | The rope to display the segments of. | ||
color | string | <optional> | Color of the debug info to be rendered (format is css color string). | |
filled | boolean | <optional> | true | Render the rectangle as a fillRect (default, true) or a strokeRect (false) |
- Source code: utils/Debug.js (Line 472)
Please login to continue.