I am very new to UE and this might be a very “noob”-question.
However I am wondering how can I access and manipulate the “DirectionalLight”-actor in the World Outliner by using C++ code?
I saw a tutorial on how to make a day-cycle with Blueprint, but I need to do this by using code, and I’m not sure where to start. I’ve figured out that I at least have to start by doing “stuff” with the sun, which is why I want to know how I can access it from code.