Power Bookmarks 1.0.0
Save and Share camera views with ease
Loading...
Searching...
No Matches
In Game

A subset of the bookmark functionality can be used in shipped titles. This allows you to collect player feedback with specific locations. All runtime functions can be found in the UFtsViewBookmarkFunctionLibrary. A bookmark is a small struct that holds a string based id, a location vector and rotation vector and a string:string key value map for meta data.

Creating Bookmarks

Several methods exist to create bookmark data.

Function Description

Create Bookmark from Camera View
๐Ÿ”Ž ยป C++ API

Takes a camera component and saves its transform and the current level into a bookmark.

Parameters
CameraCamera to capture view from
OutBookmarkResulting bookmark data
Returns
True if bookmark was created

Get Bookmark From Clipboard
๐Ÿ”Ž ยป C++ API

Reads the contents of the clipboard and converts the json string to a bookmark.

Parameters
OutBookmarkBookmark read from clipboard
Returns
True if clipboard contents could be converted to a bookmark

Read Bookmark From Json
๐Ÿ”Ž ยป C++ API

Takes a json string and reads data into a bookmark.

Parameters
JsonStringJson data to parse
OutBookmarkResulting bookmark data
Returns
True if conversion was a success

Make FtsViewBookmark

Unreal's build in make function.

Exporting Bookmarks

Bookmarks can easily be exported to the clipboard or to a JSON string.

Function Description

Copy Bookmark To Clipboard
๐Ÿ”Ž ยป C++ API

Converts a bookmark into condensed json and saves it in the clipboard.

Parameters
BookmarkBookmark to write into clipboard

WriteBookmarkToJson
๐Ÿ”Ž ยป C++ API

Converts bookmark data into a condensed json string.

Parameters
BookmarkBookmark to serialize
OutJsonStringData converted into json string
Returns
True if conversion was a success

Meta Data

Meta data can be used to store arbitrary data in a bookmark.

Function Description

Get Bookmark Meta Data Entry
๐Ÿ”Ž ยป C++ API

Gets the value that fits the key for a bookmarks meta data if it exists.

Parameters
BookmarkBookmark reference to get meta data from
KeyKey to get value for
OutValueMeta data value
Returns
True if bookmark has data for the given key

Set Bookmark Meta Data Entry
๐Ÿ”Ž ยป C++ API

Sets a new value to a given key for the bookmarks meta data.

Parameters
BookmarkBookmark reference to write to
KeyMeta data key to set
ValueValue to set for key

Delete Bookmark MetaData Entry
๐Ÿ”Ž ยป C++ API

Deletes a value from the bookmarks meta data.

Parameters
BookmarkBookmark to modify
KeyKey of value to delete from data