RealDocs

UCameraComponent::GetExtraPostProcessBlends

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

Description

Retrieves the extra post-process settings and blend weights previously stored on this camera via AddExtraPostProcessBlend.

Caveats & Gotchas

  • Assigns directly into OutSettings and OutWeights (overwriting them), so any existing contents of those arrays are discarded rather than appended to.
  • Returns empty arrays if nothing has been added since construction or the last ClearExtraPostProcessBlends call.

Signature

void GetExtraPostProcessBlends(TArray<FPostProcessSettings>& OutSettings, TArray<float>& OutWeights) const

Parameters

Name Type Description Default
OutSettings TArray<FPostProcessSettings>& Receives the stored post-process settings blocks.
OutWeights TArray<float>& Receives the blend weight for each corresponding entry in OutSettings.

Return Type

void

Example

Read back stored blends C++
TArray<FPostProcessSettings> Settings;
TArray<float> Weights;
CameraComponent->GetExtraPostProcessBlends(Settings, Weights);
for (int32 i = 0; i < Settings.Num(); ++i)
{
	// Combine Settings[i] into the final view with weight Weights[i]
}

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.