Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h |
Include |
#include "GameFramework/WorldSettings.h" |
Source |
/Engine/Source/Runtime/Engine/Private/WorldSettings.cpp |
UBookmarkBase * AddBookmark
(
const TSubclassOf< UBookmarkBase > BookmarkClass,
const bool bExpandIfNecessary
)
Creates and adds a new bookmark of a different class.
When the bookmark's class is not of the same class as the default bookmark class, the bookmark will be removed on the next update. This will fail if we've overrun MaxNumberOfBookmarks.
The bookmark that was created. Will be nullptr on failure.
Parameter |
Description |
---|---|
BookmarkClass |
Class of the new bookmark. |
bExpandIfNecessary |
Will increase MaxNumberOfBookmarks if there's not enough add another. |