UGameViewportClient::GetSubtitleRegion

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

Choose your operating system:

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)