How to edit default actor "Directional Light" with code?
I am trying to make a day-cycle with the sun going up and down with code. (I am very new to UE so this may be a "noob"-question).
I want to access the "Directional Light" actor (in "World Outliner") that is already placed in the editor (by default) with c++ code. I want to do this because after my understanding this actor is the "sun".
Can someone please tell me how I can start editing the settings for the Directional Light with code? Or Is there another way one should edit the sun to rise/set maybe?
asked Jun 03 '18 at 06:33 PM in C++ Programming
You'll need to define a actor class in C++. Then add a property that takes in a directional light.
answered Jun 04 '18 at 10:26 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here