UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TypedElementHierarchyInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
7#include "UObject/Interface.h"
10
11#include "TypedElementHierarchyInterface.generated.h"
12
13class UObject;
14struct FFrame;
15
16UINTERFACE(MinimalAPI, BlueprintType, meta = (CannotImplementInterfaceInBlueprint))
21
68
69template <>
71{
72 FTypedElementHandle GetParentElement(const bool bAllowCreate = true) const { return InterfacePtr->GetParentElement(*this, bAllowCreate); }
73 void GetChildElements(TArray<FTypedElementHandle>& OutElementHandles, const bool bAllowCreate = true) const { return InterfacePtr->GetChildElements(*this, OutElementHandles, bAllowCreate); }
74};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UINTERFACE(...)
Definition ObjectMacros.h:780
Definition TypedElementHierarchyInterface.h:23
virtual FTypedElementHandle GetParentElement(const FTypedElementHandle &InElementHandle, const bool bAllowCreate=true)
Definition TypedElementHierarchyInterface.h:31
virtual void GetChildElements(const FTypedElementHandle &InElementHandle, TArray< FTypedElementHandle > &OutElementHandles, const bool bAllowCreate=true)
Definition TypedElementHierarchyInterface.h:39
Definition Array.h:670
Definition Interface.h:19
Definition Object.h:95
Definition TypedElementHierarchyInterface.h:18
Definition TypedElementRegistry.h:55
Definition Stack.h:114
Definition TypedElementHandle.h:625
Definition TypedElementHandle.h:18
Definition TypedElementHandle.h:271
FTypedElementHandle GetParentElement(const bool bAllowCreate=true) const
Definition TypedElementHierarchyInterface.h:72
void GetChildElements(TArray< FTypedElementHandle > &OutElementHandles, const bool bAllowCreate=true) const
Definition TypedElementHierarchyInterface.h:73
Definition TypedElementHandle.h:396