FSubtitleManager::TrimRegionToSafeZone

Trim the SubtitleRegion to the safe 80% of the canvas.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SubtitleManager.h

Include

#include "SubtitleManager.h"

Source

/Engine/Source/Runtime/Engine/Private/SubtitleManager.cpp

Syntax

void TrimRegionToSafeZone
(
    FCanvas * Canvas,
    FIntRect & InOutSubtitleRegion
)

Remarks

Trim the SubtitleRegion to the safe 80% of the canvas.

Parameters

Parameter

Description

Canvas

The canvas to trim to.

InOutSubtitleRegion

The trim region.

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