FActiveSubtitle

A collection of subtitles, rendered at a certain priority.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "SubtitleManager.h"

Syntax

class FActiveSubtitle

Remarks

A collection of subtitles, rendered at a certain priority.

Variables

Name Description

Public variable

bool

 

bSingleLine

Whether subtitles should be displayed as a sequence of single lines.

Public variable

bool

 

bSplit

Whether subtitles have come in pre-split, or after they have been split programmatically.

Public variable

int32

 

Index

Index into the Subtitles array for the currently active subtitle in this set.

Public variable

float

 

Priority

Priority for this set of subtitles, used by FSubtitleManager to determine which subtitle to play.

Public variable

TArray< FSubtitleCue >

 

Subtitles

A set of subtitles.

Constructors

Name Description

Public function

FActiveSubtitle

(
    int32 InIndex,
    float InPriority,
    bool InbSplit,
    bool InbSingleLine,
    TArray< FSubtitleCue > InSubtitles
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback