Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AWorldSettings
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h |
Include | #include "GameFramework/WorldSettings.h" |
Source | /Engine/Source/Runtime/Engine/Private/WorldSettings.cpp |
UBookmarkBase &42; AddBookmark
&40;
const TSubclassOf< UBookmarkBase > BookmarkClass,
const bool bExpandIfNecessary
&41;
Remarks
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.
Parameters
Name | Description |
---|---|
BookmarkClass | Class of the new bookmark. |
bExpandIfNecessary | Will increase MaxNumberOfBookmarks if there's not enough add another. |