Utils.Debug#ropeSegments()

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)
doc_phaser
2017-02-14 11:19:13
Comments
Leave a Comment

Please login to continue.