Navigation
API > API/Developer > API/Developer/ToolMenus > API/Developer/ToolMenus/UToolMenuWidgetCollectionContext
References
| Module | ToolMenus |
| Header | /Engine/Source/Developer/ToolMenus/Public/ToolMenuWidgetCollectionContext.h |
| Include | #include "ToolMenuWidgetCollectionContext.h" |
| Source | /Engine/Source/Developer/ToolMenus/Private/ToolMenuWidgetCollectionContext.cpp |
static UToolMenuWidgetCollectionContext * Get
(
FToolMenuContext & Context,
bool bCreateIfNeeded
)
Remarks
Get the widget collection context object from the parameter context. The context object, or null if one wasn't found and bCreateIfNeeded was false.
Parameters
| Name | Description |
|---|---|
| Context | The tool menu context to retrieve the context object from. |
| bCreateIfNeeded | If true (default) then the context object is created if one wasn't found. |