Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPostProcessUtils
Description
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.
| Name | BlendPostProcessSettings |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/PostProcessUtils.h |
| Include Path | #include "Engine/PostProcessUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PostProcessUtils.cpp |
static bool BlendPostProcessSettings
(
FPostProcessSettings & ThisFrom,
const FPostProcessSettings & OtherTo,
float BlendFactor
)
Whether any setting was blended.
Parameters
| Name | Remarks |
|---|---|
| ThisFrom | The settings to blend from. Will receive the blended values. |
| OtherTo | The settings to blend towards. |
| BlendFactor | The blend factor. |