I want to add a post process component to pointlight.h, how do I do this?
I want to add a post process component that has all the settings the post process volume class has to the point light class, or more specifically pointlight.h.
asked Aug 17 '18 at 07:09 PM in C++ Programming
I'm afraid you will have to recompile the engine from source of you want to add a component to the engine APointLight class.
However that is not the way I would approach this. There's a cleaner way to do what you want and doesn't involve recompiling the engine from source.
Just create your own APointLight class inheriting from APointLight. Then create a uproperty pointer in the header to hold your post process component.
Then in your constructor create the components
Then in your scene use your own pointlight instead of the engine one.
answered Aug 18 '18 at 07:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here