UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DragAndDrop.inl
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
8template<typename OperationType>
10{
11 if (Content.IsValid() && Content->IsOfType<OperationType>())
12 {
14 }
15 else
16 {
18 }
19}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition DragAndDrop.h:141
TSharedPtr< OperationType > GetOperationAs() const
Definition DragAndDrop.inl:9
bool IsOfType() const
Definition DragAndDrop.h:35
Definition SharedPointer.h:692
UE_FORCEINLINE_HINT const bool IsValid() const
Definition SharedPointer.h:1085