Select post process volume or component in blueprint

Hi guys,
I have a blueprint with a post process component. I have a second blueprint that takes the first blueprint as an input and sets some of the properties on the post process component.

I’ve created a post process volume variable on the first blueprint so that a user can override the post process component when the variable is set to a post process volume in a level.

My problem is - how do I let the second blueprint know which post process component is the current one being used?
I have a post processing component variable called “current post processing component” that I’d like to set as either the default component or the current post process volume being passed in but I can’t “get component” from the post process volume and so I can’t select between the 2.

Any ideas?

Mike

Assuming both postprocess components work you can control if they affect the scene by adjusting the blend weight (might wanna make them unbound if the player/camera position should not be taken into account) or using the bEnabled flag. Make sure you also toggle the override checkbox for the options you want to control.
Keep in mind if both components have data to blend the priority matters (if defines in which order they data is blend). Best you try that outside with postprocess volumes and then create the blueprint.

Hi,

We think this post contains useful information which we would like to share with our public UE4 community. With your approval, we would like to make a copy of this post on the public AnswerHub which includes the discussion but strips out your username and company name. Please let us know if you are okay with this.

Thanks!

Thanks Martin. After chatting with some of the guys here we came to a similar conclusion - use priority and blending to control which post process is in effect. I think my confusion came from the fact that post process doesn’t work like a light or static mesh in that it doesn’t have a component to it.

Mike

With pleasure, Ben. Let me know if you need anything else.