DebugView

How much a DebugDraw shows, each level adding to the one before. F1 in the sandbox steps through them.

Entries

Link copied to clipboard

Just the bodies and the solids, filled.

Link copied to clipboard

And every particle, the heavy cores, and the edge of every tile.

Link copied to clipboard

And every constraint, coloured by how hard it is working: blue squeezed, red stretched.

Link copied to clipboard

And every contact: where each particle touched something, and which way it was pushed.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the next level, back to OFF after EVERYTHING.

Link copied to clipboard
fun shows(level: DebugView): Boolean

Returns whether this shows at least as much as level.

Link copied to clipboard
fun valueOf(value: String): DebugView

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.