DepthConflictReport class Rendering

The result of Scene.probeDepthConflicts: every pair of surfaces that fights in one view, largest first.

Constructors

DepthConflictReport({required int width, required int height, required List<DepthConflict> conflicts, List<Node> untested = const []})
const

Properties

conflictFraction → double
conflictPixelCount as a fraction of the image.
no setter
conflictPixelCount → int
The pixels involved in any conflict.
no setter
conflicts → List<DepthConflict>
The fighting pairs, most pixels first. Empty when nothing fights.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
untested → List<Node>
Nodes the probe cannot test. Blended surfaces show by however much they cover, which an id image cannot hold, and never hide what is behind them, so they are left out entirely. A .fmat cut by its own Surface() still hides what is behind it, but pairs that involve it are not reported.
final
width → int
The probe image's size in pixels.
final

Methods

describe({int limit = 8}) → String
A short report for a log or an agent: a summary line and the largest limit pairs.
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