UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
OverlaysImporter.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
7#include "Overlays.h"
8
9struct FOverlayItem;
10
12{
13 Unknown,
15};
16
18{
19public:
22
29 OVERLAY_API bool OpenFile(const FString& FilePath);
30
38
42 OVERLAY_API void Reset();
43
44private:
45 bool ParseSubRipSubtitles(TArray<FOverlayItem>& OutSubtitles) const;
46
47private:
48 FString Filename;
49 FString FileContents;
50
51 EOverlaysFileType FileType;
52};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EOverlaysFileType
Definition OverlaysImporter.h:12
Definition OverlaysImporter.h:18
OVERLAY_API bool OpenFile(const FString &FilePath)
Definition OverlaysImporter.cpp:17
OVERLAY_API ~FOverlaysImporter()
Definition OverlaysImporter.cpp:13
OVERLAY_API bool ImportBasic(TArray< FOverlayItem > &OutOverlays) const
Definition OverlaysImporter.cpp:59
OVERLAY_API FOverlaysImporter()
Definition OverlaysImporter.cpp:8
OVERLAY_API void Reset()
Definition OverlaysImporter.cpp:52
Definition Array.h:670
Definition Overlays.h:15