Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/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; GetOrAddBookmark
&40;
const uint32 BookmarkIndex,
const bool bRecreateOnClassMismatch
&41;
Remarks
Gets the bookmark at the specified index, creating it if a bookmark doesn't exist.
This will fail if the specified index is greater than MaxNumberOfBookmarks.
For "plain" access that doesn't cause reallocation, use GetBookmarks
Parameters
| Name | Description |
|---|---|
| bRecreateOnClassMismatch | Whether or not we should recreate an existing bookmark if it's class doesn't match the default bookmark class. |