struct GradientFogController

robot_2Generated
code_blocksInput

Description

The GradientFogController struct in the Sandbox namespace is used to manage gradient fog settings in a scene. It provides properties to control the fog's appearance and methods to manipulate its behavior.

Members

Instance Properties

Member NameSummary
EnabledWhether the fog is enabled.
StartDistanceStart distance of the fog.
EndDistanceEnd distance of the fog.
StartHeightStart height of the fog.
EndHeightEnd height of the fog.
MaximumOpacityMaximum opacity of the fog.
ColorColor of the fog.
DistanceFalloffExponentExponent for distance falloff of the fog.
VerticalFalloffExponentExponent for vertical falloff of the fog.

Instance Methods

Member NameSummary
WriteWrites the current fog settings to the specified render attributes.
LerpToInterpolates the fog settings towards the desired settings over time.