UGameViewportClient::GetSubtitleRegion

Called before rending subtitles to allow the game viewport to determine the size of the subtitle area

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual void GetSubtitleRegion
(
    FVector2D & MinPos,
    FVector2D & MaxPos
)

Remarks

Called before rending subtitles to allow the game viewport to determine the size of the subtitle area

Parameters

Parameter

Description

Min

top left bounds of subtitle region (0 to 1)

Max

bottom right bounds of subtitle region (0 to 1)

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