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