RealDocs

UCameraComponent::AddExtraPostProcessBlend

function Engine Since 4.0
#include "Camera/CameraComponent.h"
Access: public

Description

Stores a post-process settings/weight pair on the camera for later retrieval, without applying it to the camera's live view. Used to stash blends such as in-editor camera animation previews for a system to consume separately.

Caveats & Gotchas

  • Storing a blend here does not affect GetCameraView or PostProcessSettings — nothing applies these blends automatically, so your own code must call GetExtraPostProcessBlends and blend them in manually.
  • There's no built-in limit or dedup on the stored list; calling this repeatedly for the same purpose keeps appending entries until ClearExtraPostProcessBlends is called.

Signature

void AddExtraPostProcessBlend(FPostProcessSettings const& PPSettings, float PPBlendWeight)

Parameters

Name Type Description Default
PPSettings FPostProcessSettings const& Post-process settings block to store for later use.
PPBlendWeight float Blend weight to associate with the stored settings.

Return Type

void

Example

Store an editor preview blend C++
FPostProcessSettings PreviewSettings;
PreviewSettings.bOverride_VignetteIntensity = true;
PreviewSettings.VignetteIntensity = 0.4f;
CameraComponent->AddExtraPostProcessBlend(PreviewSettings, 1.0f);

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.