I want to change the value of chromatic aberration through c++ can anyone help me how to do it, please.
Maybe this will help:
int32 count = world->PostProcessVolumes.Num();
for (int32 x = 0; x < count; ++x)
{
FPostProcessVolumeProperties volume = world->PostProcessVolumes[x]->GetProperties();
if (volume.bIsUnbound)
{
FPostProcessSettings* settings = (FPostProcessSettings*)volume.Settings;
settings->MotionBlurAmount = 0;
settings->MotionBlurMax = 0;
settings->MotionBlurPerObjectSize = 0;
}
}
4 Likes
Thanks, it works