Navigation
API > API/Developer > API/Developer/WidgetRegistration > API/Developer/WidgetRegistration/FToolElementRegistry
References
| Module | WidgetRegistration |
| Header | /Engine/Source/Developer/WidgetRegistration/Public/ToolElementRegistry.h |
| Include | #include "ToolElementRegistry.h" |
| Source | /Engine/Source/Developer/WidgetRegistration/Private/ToolElementRegistry.cpp |
TSharedRef< SWidget > GenerateWidget
&40;
TSharedRef< FToolElementRegistrationKey > ToolElementKeySR,
TSharedPtr< FToolElementRegistrationArgs > RegistrationArgsSP,
bool bUpdateRegistrationArgs
&41;
Remarks
Generates the widget for the tool element denoted by the FToolElementRegistrationKey, using the specified TSharedPtr
Parameters
| Name | Description |
|---|---|
| ToolElementKeySR | the TSharedRef |
| RegistrationArgsSP | The SharedPtr to the FToolElementRegistrationArgs for the tool element for which which we want to generate the widget |
| bUpdateRegistrationArgs | a bool that indicates whether we store any provided FToolElementRegistrationArgs as the new FToolElementRegistrationArgs for this tool element |