FSceneViewFamily::SetScreenPercentageInterface

Safely sets the view family's screen percentage interface.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneView.h

Include

#include "SceneView.h"

Syntax

void SetScreenPercentageInterface
(
    ISceneViewFamilyScreenPercentage * InScreenPercentageInterface
)

Remarks

Safely sets the view family's screen percentage interface. This is meant to be set by one of the ISceneViewExtension::BeginRenderViewFamily(). And collision will automatically be detected. If no extension sets it, that is fine since the renderer is going to use an internal default one.

The renderer reserves the right to delete and replace the view family's screen percentage interface for testing purposes with the r.Test.OverrideScreenPercentageInterface CVar.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss