UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPostProcessUtils Struct Reference

#include <PostProcessUtils.h>

Static Public Member Functions

static UE_API bool OverridePostProcessSettings (FPostProcessSettings &ThisFrom, const FPostProcessSettings &OtherTo)
 
static UE_API bool BlendPostProcessSettings (FPostProcessSettings &ThisFrom, const FPostProcessSettings &OtherTo, float BlendFactor)
 

Detailed Description

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.

Member Function Documentation

◆ BlendPostProcessSettings()

bool FPostProcessUtils::BlendPostProcessSettings ( FPostProcessSettings ThisFrom,
const FPostProcessSettings OtherTo,
float  BlendFactor 
)
static

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
ThisFromThe settings to blend from. Will receive the blended values.
OtherToThe settings to blend towards.
BlendFactorThe blend factor.
Returns
Whether any setting was blended.

◆ OverridePostProcessSettings()

bool FPostProcessUtils::OverridePostProcessSettings ( FPostProcessSettings ThisFrom,
const FPostProcessSettings OtherTo 
)
static

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
ThisFromThe settings to write over.
OtherToThe settings to overlay on top.
Returns
Whether any setting was overwritten.

The documentation for this struct was generated from the following files: