FToolElementRegistry::GetToolElementSP

Gets the [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr) for the given [FToolElementRegistrationKey](API\Developer\WidgetRegistration\FToolElementRegistrationKey)& tool element key

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

References

   
Module WidgetRegistration
Header /Engine/Source/Developer/WidgetRegistration/Public/ToolElementRegistry.h
Include #include "ToolElementRegistry.h"
Source /Engine/Source/Developer/WidgetRegistration/Private/ToolElementRegistry.cpp
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FToolElement](API\Developer\WidgetRegistration\FToolElement) > GetToolElementSP
(
    [FToolElementRegistrationKey](API\Developer\WidgetRegistration\FToolElementRegistrationKey) & ToolElementKey
)

Remarks

Gets the TSharedPtr for the given FToolElementRegistrationKey& tool element key

Parameters

Name Description
ToolElementKey the given FToolElementRegistrationKey& tool element key for which to find the tool element

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library