Download

How to Change SceneCapture BackgroundColor?

I found function FScene::UpdateSceneCaptureContents() SceneCapture Rendering.

But I want to change backgroundColor.

FSceneViewInitOptions ViewInitOptions;
ViewInitOptions.SetViewRectangle(FIntRect(0, 0, RenderTargetSize.X, RenderTargetSize.Y));
ViewInitOptions.ViewFamily = &ViewFamily;
ViewInitOptions.ViewOrigin = ViewLocation;
ViewInitOptions.ViewRotationMatrix = ViewRotationMatrix;
**ViewInitOptions.BackgroundColor = FLinearColor::Black;**   //  here want to change

How to change Color??