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
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
Methods
-
copyWith(
{bool? bounds, bool? normals, bool? lightGizmos, bool? axes, bool? cameraFrustums, 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