Download

SceneCapture2DComponent only

Hello,

I’m using the SceneCapture2DComponent to render scene to render target, then read image to Tarray and send across network.
Is it possible to disable rendering to main viewport, only want SceneCapture2D scene, for performance reasons ?

Well you can disable rendering in the viewport but it might also disable the scenecapture (I haven’t tried it).


FViewport::SetGameRenderingEnabled(false);

unfortunately this also disables scenecapture