#include <PostProcessUtils.h>
A utility class for blending FPostProcessSettings together without creating a FFinalPostProcessSettings instance. This is useful for building up post-process settings in a modular way before handing it off to the player camera manager, or other engine class that takes an FPostProcessSettings.
◆ BlendPostProcessSettings()
Blends values from one set of post-process settings to another, storing the result in place of that first set. Settings that are overriden in either set are blended, so that settings may blend between different values, from a default value to a custom value, or from a custom value back to a default value.
Some non-interpolable properties, like enums, get "flipped" over 50% blend. A couple others, like ambient cubemaps, don't get accumulated like with FFinalPostProcessSettings and are instead also "flipped" over 50% blend. Blendable objects are not supported at this point.
- Parameters
-
| ThisFrom | The settings to blend from. Will receive the blended values. |
| OtherTo | The settings to blend towards. |
| BlendFactor | The blend factor. |
- Returns
- Whether any setting was blended.
◆ OverridePostProcessSettings()
Overwrites post-process settings with another set of post-process settings. Only settings that are overriden in the other set (OtherTo) are overwritten. This effectively "overlays" one set of settings on top of another.
- Parameters
-
| ThisFrom | The settings to write over. |
| OtherTo | The settings to overlay on top. |
- Returns
- Whether any setting was overwritten.
The documentation for this struct was generated from the following files: