FToolElement

Represents one Tool Element, and is responsible for displaying the UI for that element

Unreal Engine C++ API Reference > Developer > WidgetRegistration

Inheritance Hierarchy

References

   
Module WidgetRegistration
Header /Engine/Source/Developer/WidgetRegistration/Public/ToolElementRegistry.h
Include #include "ToolElementRegistry.h"

Syntax

class FToolElement :  
    public [FToolElementRegistrationKey](API\Developer\WidgetRegistration\FToolElementRegistrationKey),  
    public [TSharedFromThis< FToolElement >](API\Runtime\Core\Templates\TSharedFromThis)  

Remarks

Represents one Tool Element, and is responsible for displaying the UI for that element

Constructors

Type Name Description
  FToolElement ( const FName InName, TSharedRef< FToolElementRegistratio... ) FToolElement constructor

Functions

Type Name Description
TSharedRef< ... GenerateWidget () A convenience pass through method to the FToolElementRegistrationArgs GenerateWidget method which generates the TSharedRef
void SetRegistrationArgs ( TSharedRef< FToolElementRegistratio... ) Sets the FToolElementRegistrationArgs for the this tool element to RegistrationArgs

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library