FToolElementRegistry

A Registry for FToolElements, where the FToolElements will generate the UI for a certain tool

Unreal Engine C++ API Reference > Developer > WidgetRegistration

References

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

Syntax

class FToolElementRegistry  

Remarks

A Registry for FToolElements, where the FToolElements will generate the UI for a certain tool

Constructors

Type Name Description
  FToolElementRegistry ()  

Functions

Type Name Description
TSharedRef< ... GenerateWidget ( TSharedRef< FToolElementRegistratio..., TSharedPtr< FToolElementRegistratio..., bool bUpdateRegistrationArgs ) Generates the widget for the tool element denoted by the FToolElementRegistrationKey, using the specified TSharedPtr if provided (otherwise it will use the default registered registration arguments. If bUpdateRegistrationArgs is set to true and RegistrationArgsSP is not nullptr, the specified registration args will replace the existing ones for the tool element.
FToolElement... Get ()  
TSharedPtr< ... GetToolElementSP ( FToolElementRegistrationKey& ToolE... ) Gets the TSharedPtr for the given FToolElementRegistrationKey& tool element key
void RegisterElement ( const TSharedRef< FToolElement > To... ) Registers the FToolElement ToolElement
void UnregisterElement ( const TSharedRef< FToolElement > To... ) Unregisters the FToolElement ToolElement

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library