Navigation
API > API/Developer > API/Developer/WidgetRegistration
Inheritance Hierarchy
- FToolElementRegistrationKey
- TSharedFromThis
- FToolElement
References
| Module | WidgetRegistration |
| Header | /Engine/Source/Developer/WidgetRegistration/Public/ToolElementRegistry.h |
| Include | #include "ToolElementRegistry.h" |
Syntax
class FToolElement :
public FToolElementRegistrationKey,
public TSharedFromThis< FToolElement >
Remarks
Represents one Tool Element, and is responsible for displaying the UI for that element
Constructors
| Type | Name | Description | |
|---|---|---|---|
FToolElement
(
const FName InName, |
FToolElement constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | A convenience pass through method to the FToolElementRegistrationArgs GenerateWidget method which generates the TSharedRef |
||
| void | SetRegistrationArgs
(
TSharedRef< FToolElementRegistrationArgs > RegistrationArgs |
Sets the FToolElementRegistrationArgs for the this tool element to RegistrationArgs |