Download

Override Unreal preview selected camera

Hi, I’m working with Unreal 4.23 and I need to change the preview selected camera to display the scene from a different position, fov etc. for a feature used by artists (it has to be transparent to users, so no way to do some specific operations from Editor like create a scene capture 2D etc., ideally it has to be entirely coded in C++)

I made research on Google but I cannot find anything related to it. I also tried to copy/past the engine code from SLevelViewport but some members I need are not accessibles and it’s not the best solution to maintain products which are using differents Unreal versions in the future. As I want to avoid to change engine code, do you know if it’s possible to simply override this preview ? Thanks.