Download

[RESOLVED] How to identify main editor level viewport in GEditor->LevelViewportClients?

Hi, I am writing an editor plugin, I need to access the FLevelEditorViewportClient instance of the viewport where the level is into (terrain etc.). This instance is part of GEditor->LevelViewportClients, but how can I know which one it is? And it is not GEditor->LevelViewportClients[0]…

found! this is GCurrentLevelEditingViewportClient!