Power Bookmarks 1.0.0
Save and Share camera views with ease
Loading...
Searching...
No Matches
UFtsViewBookmarksEditorFunctionLibrary Class Reference

Library to interact with the level editor viewport. More...

#include <FtsViewBookmarksEditorFunctionLibrary.h>

Inheritance diagram for UFtsViewBookmarksEditorFunctionLibrary:

Static Public Member Functions

static bool CreateBookmarkFromLevelEditorView (FFtsViewBookmark &OutBookmark)
 Tries to query the current level editor viewport and save view coordinates into bookmark.
static bool SetLevelEditorViewFromBookmark (const FFtsViewBookmark &Bookmark)
 Tries to change the level editor viewport to look at the given coordinates.

Static Protected Member Functions

static bool GetSanitizedLevelEditorMapName (FString &OutName)
 Tries to return the short name for the current level. Removes PIE prefix.

Detailed Description

Library to interact with the level editor viewport.

Member Function Documentation

◆ CreateBookmarkFromLevelEditorView()

bool UFtsViewBookmarksEditorFunctionLibrary::CreateBookmarkFromLevelEditorView ( FFtsViewBookmark & OutBookmark)
static

Tries to query the current level editor viewport and save view coordinates into bookmark.

Parameters
OutBookmarkBookmark 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
OutNameSanitized 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
BookmarkData to apply
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