RenderSettings class final

Constructors

RenderSettings({double specular = 1.0, double exposure = 1.6, bool wireframe = false, bool backfaceCulling = true, DebugDrawOptions debug = const DebugDrawOptions(), List<SceneNode> highlighted = const <SceneNode>[], bool tonemap = true, BloomSettings bloom = const BloomSettings(), LookSettings look = const LookSettings(), ShadowSettings shadows = const ShadowSettings(), bool surfaceBuffer = false, bool showSurfaceBuffer = false, bool showShadowMap = false, bool showStaticShadowMap = false, bool showPointShadowDebug = false, ReflectionSettings reflections = const ReflectionSettings(), AmbientOcclusionSettings ambientOcclusion = const AmbientOcclusionSettings(), FogSettings fog = const FogSettings(), SkySettings sky = const SkySettings()})
const

Properties

ambientOcclusion AmbientOcclusionSettings
Darkens the ambient term where a surface cannot see the sky.
final
backfaceCulling bool
final
bloom BloomSettings
final
debug DebugDrawOptions
Which debug overlays to draw on top of the scene.
final
exposure double
Linear multiplier applied before tone mapping.
final
fog FogSettings
final
hashCode int
The hash code for this object.
no setterinherited
highlighted List<SceneNode>
Nodes to outline, typically whatever picking last selected.
final
look LookSettings
Grading, vignette, grain and dispersion, applied inside the composite. Neutral by default — see LookSettings.
final
needsSurfaceBuffer bool
Whether the scene pass should write the surface buffer at all.
no setter
reflections ReflectionSettings
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows ShadowSettings
final
showPointShadowDebug bool
Paints the point shadow's penumbra estimate into the surface buffer, and shows that instead of the lit image.
final
showShadowMap bool
Composites the shadow map instead of the scene.
final
showStaticShadowMap bool
Composites the static cube atlas instead of the scene.
final
showSurfaceBuffer bool
Composites the surface buffer instead of the scene.
final
sky SkySettings
What is behind everything, when there is anything.
final
specular double
final
surfaceBuffer bool
Whether the scene pass writes its second attachment: world-space normal and depth, for a screen-space effect to read.
final
tonemap bool
Whether the composite pass applies the tone curve.
final
wireframe bool
final

Methods

copyWith({double? specular, double? exposure, bool? wireframe, bool? backfaceCulling, DebugDrawOptions? debug, List<SceneNode>? highlighted, bool? tonemap, BloomSettings? bloom, LookSettings? look, ShadowSettings? shadows, bool? surfaceBuffer, bool? showSurfaceBuffer, bool? showShadowMap, bool? showPointShadowDebug, ReflectionSettings? reflections, AmbientOcclusionSettings? ambientOcclusion, FogSettings? fog, SkySettings? sky}) RenderSettings
This one with some fields replaced.
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