ShDiffuseSummary class Lighting and environment

What describeDiffuseSphericalHarmonics measured about a coefficient set.

Constructors

ShDiffuseSummary({required Vector3 mean, required Vector3 minimum, required Vector3 maximum, required double negativeFraction})

Properties

constantDeviation double
How far the field strays from constant, as max(|value - mean|) / max(mean) over every sampled direction and channel. Zero for a perfectly uniform environment.
no setter
hashCode int
The hash code for this object.
no setterinherited
maximum → Vector3
Highest per-channel radiance any direction evaluates to.
final
mean → Vector3
Mean reflected radiance over the sphere. For coefficients projected from an environment this equals the environment's average radiance, so a constant environment of radiance L round-trips to mean == L.
final
minimum → Vector3
Lowest per-channel radiance any direction evaluates to. Meaningfully negative values mean ringing (or a bad bake).
final
negativeFraction double
Fraction of sampled directions where any channel evaluates negative.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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