UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TypedElementAssetDataInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "Containers/Array.h"
8#include "UObject/Interface.h"
11
12#include "TypedElementAssetDataInterface.generated.h"
13
14class UObject;
15struct FFrame;
16
17USTRUCT(BlueprintType)
19{
21
22public:
24 bool OnlyTopLevelAsset() const { return bOnlyTopLevelAsset; }
25
26private:
27 UPROPERTY(BlueprintReadWrite, Category = "TypedElementInterfaces|AssetData|GetReferencedOptions", meta = (AllowPrivateAccess = true))
28 bool bOnlyTopLevelAsset = false;
29};
30
31UINTERFACE(MinimalAPI, BlueprintType, meta = (CannotImplementInterfaceInBlueprint))
36
74
75template <>
76struct TTypedElement<ITypedElementAssetDataInterface> : public TTypedElementBase<ITypedElementAssetDataInterface>
77{
79 FAssetData GetAssetData() const { return InterfacePtr->GetAssetData(*this); }
80};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition TypedElementAssetDataInterface.h:38
virtual TYPEDELEMENTRUNTIME_API TArray< FAssetData > GetAllReferencedAssetDatas(const FTypedElementHandle &InElementHandle, const FTypedElementAssetDataReferencedOptions &InOptions=FTypedElementAssetDataReferencedOptions())
Definition TypedElementAssetDataInterface.cpp:9
virtual TYPEDELEMENTRUNTIME_API FAssetData GetAssetData(const FTypedElementHandle &InElementHandle)
Definition TypedElementAssetDataInterface.cpp:22
Definition Array.h:670
Definition Interface.h:19
Definition Object.h:95
Definition TypedElementAssetDataInterface.h:33
@ false
Definition radaudio_common.h:23
Definition AssetData.h:162
Definition Stack.h:114
Definition TypedElementHandle.h:625
Definition TypedElementAssetDataInterface.h:19
FTypedElementAssetDataReferencedOptions & SetOnlyTopLevelAsset(const bool InTopLevelAsset)
Definition TypedElementAssetDataInterface.h:23
bool OnlyTopLevelAsset() const
Definition TypedElementAssetDataInterface.h:24
Definition TypedElementHandle.h:18
Definition TypedElementHandle.h:271
BaseInterfaceType * InterfacePtr
Definition TypedElementHandle.h:386
TArray< FAssetData > GetAllReferencedAssetDatas(const FTypedElementAssetDataReferencedOptions &InOptions=FTypedElementAssetDataReferencedOptions()) const
Definition TypedElementAssetDataInterface.h:78
FAssetData GetAssetData() const
Definition TypedElementAssetDataInterface.h:79
Definition TypedElementHandle.h:396