FSubtitleManager::TrimRegionToSafeZone

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

Choose your operating system:

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.