Library to interact with the level editor viewport.
More...
#include <FtsViewBookmarksEditorFunctionLibrary.h>
Library to interact with the level editor viewport.
◆ CreateBookmarkFromLevelEditorView()
| bool UFtsViewBookmarksEditorFunctionLibrary::CreateBookmarkFromLevelEditorView |
( |
FFtsViewBookmark & | OutBookmark | ) |
|
|
static |
Tries to query the current level editor viewport and save view coordinates into bookmark.
- Parameters
-
| OutBookmark | Bookmark containing current view coordinates and map name |
- Returns
- True if the query was successful
◆ GetSanitizedLevelEditorMapName()
| bool UFtsViewBookmarksEditorFunctionLibrary::GetSanitizedLevelEditorMapName |
( |
FString & | OutName | ) |
|
|
staticprotected |
Tries to return the short name for the current level. Removes PIE prefix.
- Parameters
-
| OutName | Sanitized Short Name |
- Returns
- True if name could be queried, False if no level could be determined or loaded
◆ SetLevelEditorViewFromBookmark()
| bool UFtsViewBookmarksEditorFunctionLibrary::SetLevelEditorViewFromBookmark |
( |
const FFtsViewBookmark & | Bookmark | ) |
|
|
static |
Tries to change the level editor viewport to look at the given coordinates.
Will load level specified in bookmark unless it is already open.
- Parameters
-
- Returns
- True if the view was applied
The documentation for this class was generated from the following files:
- Plugins/FtsViewBookmarks/Source/FtsViewBookmarksEditor/Public/FtsViewBookmarksEditorFunctionLibrary.h
- Plugins/FtsViewBookmarks/Source/FtsViewBookmarksEditor/Private/FtsViewBookmarksEditorFunctionLibrary.cpp