FToolElement::FToolElement

[FToolElement](API\Developer\WidgetRegistration\FToolElement) constructor

Unreal Engine C++ API Reference > Developer > WidgetRegistration > FToolElement

References

   
Module WidgetRegistration
Header /Engine/Source/Developer/WidgetRegistration/Public/ToolElementRegistry.h
Include #include "ToolElementRegistry.h"
Source /Engine/Source/Developer/WidgetRegistration/Private/ToolElementRegistry.cpp
FToolElement
(
    const [FName](API\Runtime\Core\UObject\FName) InName,
    [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FToolElementRegistrationArgs](API\Developer\WidgetRegistration\FToolElementRegistrationArgs) > InBuilderArgs
)

Remarks

FToolElement constructor

Parameters

Name Description
InName the FName of the FToolElement
InBuilderArgs the shared reference to the FToolElementRegistrationArgs. Need to have a shared reference here so that if the registered outlives the registrar, we maintain a copy

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library