FogAddon class final
The distance and height fog the lit stages mix in —
RenderSettings.fog. Height fog is the same step: FogSettings
thins it upwards with heightFalloff.
Constructors
- FogAddon()
-
The plugin
flutter3d_post.fog, which owns the switch ofRenderStep.fog.const
Properties
-
adds
→ List<
RenderStep> -
Steps of its own, made the renderer's with
RendererSteps.addStepbefore anything is provided.finalinherited -
dependsOn
→ List<
String> -
The ids of the addons this one cannot run without — the lens flare's
bloom, whose glow it is drawn from.
finalinherited
- description → String?
-
One sentence for a plugin list.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The plugin's id — the package's name, a dot and the effect's:
flutter3d_post.bloom.finalinherited - manifest → PluginManifest
-
A view plugin on plugin API 1.0: nothing it does is in the step, so a
replay does not record it being switched. With
replacesorreplacesStages, it declaresPluginPermission.replace.no setterinherited -
provides
→ List<
RenderStep> -
The steps this plugin is the switch of, built in or among
adds.finalinherited -
replaces
→ List<
RenderStep> -
The engine's own steps this plugin takes over: it provides each, as
providesdoes, and is their switch. A plugin from outside the engine provides a built-in step only through this list.finalinherited -
replacesStages
→ List<
String> -
The engine's own shader stages, by name, that the libraries this
plugin adds with
RendererSteps.addMaterialsmay answer. A plugin from outside the engine replaces a stage outside its namespace only through this list.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
settings
→ List<
SettingsSlot< Object> > -
The settings slots this plugin's steps read, added to the renderer
with
RendererSteps.addSettingswhile it is on — the built-in ones for the kernel's effects (SettingsSlot.bloom), an addon's own for its own. What lets a settings screen, or a level'srenderSettingssection, find a third-party addon's settings by id.finalinherited
Methods
-
install(
PluginHost host) → void -
Registers this plugin's phases, systems, subscriptions and the rest.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ready(
PluginHost host) → Future< void> -
Loads what the plugin needs before it is whole — a shader library its
lighting model draws with, a table its system reads — after
installhas registered everything, and completes when it has. Completes at once unless overridden.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
uninstall(
PluginHost host) → void -
Releases what
installtook that is not a registration. The registrations themselves are cancelled by the host after this returns.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited