Debug class

Holds debug settings used across all Ignis scenes.

Nodes and systems that wish to participate in a particular debug mode should reach directly into Ignis.debug when checking if it's enabled.

Constructors

Debug()

Properties

collisionPaint ↔ Paint
What the DebugMode.collision wireframe draws with.
getter/setter pair
enabled → bool
Whether the overlay draws at all.
no setter
hashCode → int
The hash code for this object.
no setterinherited
inputPaint ↔ Paint
What the DebugMode.input wireframe draws with.
getter/setter pair
layoutPaint ↔ Paint
What the DebugMode.layout wireframe draws with.
getter/setter pair
mode ↔ DebugMode?
What the overlay draws, or null to draw no wireframe at all.
getter/setter pair
paint → Paint
What the wireframe in mode draws with, the origin cross included.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spatialPaint ↔ Paint
What the DebugMode.spatial wireframe draws with.
getter/setter pair

Methods

draws(DebugMode mode) → bool
Whether mode is the one drawing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle(DebugMode mode) → void
Draws mode, or clears the overlay if it was already the one drawing.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance → Debug
The settings in use.
no setter