DebugDrawOptions class final

Which debug overlays to build for a frame.

A value rather than a set of flags on the renderer: the overlays are a property of what the user asked to see, and the renderer should not grow a field per toggle.

Constructors

DebugDrawOptions({bool bounds = false, bool normals = false, bool lightGizmos = false, bool axes = false, bool cameraFrustums = false, bool skeletons = false, double normalLength = 0.0})
const

Properties

anyEnabled → bool
no setter
axes → bool
The world axes at the origin.
final
bounds → bool
World-space bounding box of every visible MeshNode.
final
cameraFrustums → bool
The view volume of every camera except the one being rendered — the whole reason culling is inspectable at all.
final
hashCode → int
The hash code for this object.
no setterinherited
lightGizmos → bool
Position and aim of every light in the scene.
final
normalLength → double
Length of a normal segment in world units. Zero picks a length from the scene size, which is the only way one setting suits both a 1-unit cube and a 200-unit model.
final
normals → bool
A short segment along the normal of each vertex.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skeletons → bool
One octahedron per bone and one cross per leaf joint, for every skinned mesh node in the scene — anim-08's own overlay.
final

Methods

copyWith({bool? bounds, bool? normals, bool? lightGizmos, bool? axes, bool? cameraFrustums, bool? skeletons, double? normalLength}) → DebugDrawOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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