class
MSubtitleStatics
- Module
- Narrative
- Header
#include "Narrative/MSubtitleStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
bool | ShowSubtitle | |
bool | ShowCaption | |
void | ClearSubtitles | |
int32_t | GetSubtitleCount | |
std::string | GetSubtitleLine | |
void | SetSubtitlesEnabled | |
bool | AreSubtitlesEnabled | |
void | SetClosedCaptions | |
bool | AreClosedCaptionsEnabled | |
void | SetSubtitleScale | |
float | GetSubtitleScale | |
FSubtitleSystem* | ResolveSystem |
Function details
ShowSubtitle
C++
bool ShowSubtitle(const std::string& speaker, const std::string& text, float duration)ShowCaption
C++
bool ShowCaption(const std::string& text, float duration)ClearSubtitles
C++
void ClearSubtitles()GetSubtitleCount
C++
int32_t GetSubtitleCount() constGetSubtitleLine
C++
std::string GetSubtitleLine(int32_t index) constSetSubtitlesEnabled
C++
void SetSubtitlesEnabled(bool enabled)AreSubtitlesEnabled
C++
bool AreSubtitlesEnabled() constSetClosedCaptions
C++
void SetClosedCaptions(bool enabled)AreClosedCaptionsEnabled
C++
bool AreClosedCaptionsEnabled() constSetSubtitleScale
C++
void SetSubtitleScale(float scale)GetSubtitleScale
C++
float GetSubtitleScale() constResolveSystem
C++
static FSubtitleSystem* ResolveSystem()Generated from Narrative/MSubtitleStatics.h via narrative.json · Oct 26, 2026Version 1.0.0