The property in C++ is marked as “Blueprint Read Only”, as are most of the Directional Light properties so it cannot be set at runtime.
The property in C++ is marked as “Blueprint Read Only”, as are most of the Directional Light properties so it cannot be set at runtime.