IrradianceFieldBakeStepper class Lighting and environment

Progressively bakes an irradiance volume across multiple step calls so a load screen or background worker stays responsive.

Constructors

IrradianceFieldBakeStepper({required IrradianceFieldLayout layout, required Vector3 origin, required Vector3 spacing, required int faceResolution, required int probesPerStep, required int layerMask, required RenderScene renderScene, required EnvironmentMap environmentMap, required TransientWriter transientsBuffer, required DirectionalLightComponent? lightComponent, required PunctualLighting punctualLighting, required SpotShadowFrame? spotShadowFrame, required void renderView({bool captureLinearColor, required EnvironmentMap environmentMap, required DirectionalLightComponent? lightComponent, required Texture outputColor, required Size pixelSize, required TransientTexturePool pool, required PunctualLighting punctualLighting, required SpotShadowFrame? spotShadowFrame, required TransientWriter transientsBuffer, required RenderView view})})

Properties

currentProbe int
Number of probes baked so far.
no setter
environmentMap EnvironmentMap
final
faceResolution int
final
hashCode int
The hash code for this object.
no setterinherited
isDone bool
Whether all probes have completed baking.
no setter
layerMask int
final
layout → IrradianceFieldLayout
final
lightComponent DirectionalLightComponent?
final
origin → Vector3
final
probesPerStep int
final
progress double
Normalized progress in 0, 1.
no setter
punctualLighting → PunctualLighting
final
renderScene → RenderScene
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing → Vector3
final
spotShadowFrame → SpotShadowFrame?
final
totalProbes int
Total number of probes to bake in the volume.
no setter
transientsBuffer TransientWriter
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
step() IrradianceFieldBake?
Runs the next batch of probes. Returns the finished IrradianceFieldBake on completion, or null while more steps remain.
toString() String
A string representation of this object.
inherited

Operators

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