Where in the C++ source is splitscreen implemented?

Viewport classes ofcorse :stuck_out_tongue:

Aspecially UGameViewportClient

Pretty much what the question is asking. Iā€™m trying to render two viewports simultaneously in a singleplayer game, and I figure this would be a good place to start looking.

Ah, very logical place! lol. Iā€™m just beginning to delve into the engine code, itā€™s quite a complex beast. Thanks for the push in the right direction.

So you dont have to search :wink:

The code to create custom splitscreen viewports can be found here: ā€˜Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.hā€™ ā€˜Engine/Source/Runtime/Engine/Private/GameViewportClient.cppā€™ ā€˜Engine/Source/Runtime/EngineSettings/Classes/GameMapsSettings.hā€™

Hi, please visit the ā€œiLocalPlayerā€ UE4 C++ Plugin: iLocalPlayer4UE4 in Code Plugins - UE Marketplace
Functions of this plugin :1. Side-by-Side Stereo 3D implementing; 2. Asymmetric projection(or named asymmetric view frustum) implementing.

Hope this helps you.