As per forum post all other light component clases (PointLightComponent, SpotLightComponent etc) all have ENGINE_API but DirectionLightComponent does not.
If only for consistency it should but also because you cant link to functions on the class without it.
Unless of course theres a reason not to be able to access those function.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-21213 in the post.
| 0 |
| Component | UE - Gameplay |
|---|---|
| Target Fix | 4.11 |
| Fix Commit | 2781731 |
|---|---|
| Main Commit | 2787214 |
| Created | Sep 17, 2015 |
|---|---|
| Resolved | Nov 26, 2015 |
| Updated | Apr 27, 2018 |