Day\Night Cycle C++ tutorials

Greetings, is there any Day\Night Cycle C++ tutorials? Searched forum, but not found anything

You can easily get a day/night cycle working in Blueprint.

Day/Night Cycle - Rendering - Epic Developer Community Forums

Working Basic Day/Night Cycle w/ Updating sun - Blueprint - Epic Developer Community Forums

If you want to do it in C++, you can probably try to come up with a method to do so by reimplementing the relevant Blueprint flowcharts in C++. However, I’m not sure precisely what the base class for a level blueprint is in C++, so you’re probably better off just implementing your day/night cycle in Blueprint.

EDIT: Rick Kuilman’s tutorial seems to have a class Blueprint that handles his day/night cycle, so it might be possible to create a C++ adaptation of his code.