UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DynamicPropertyPath.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 "CoreMinimal.h"
10
11#include "DynamicPropertyPath.generated.h"
12
13class FProperty;
14class UObject;
15
17USTRUCT()
19{
21
22public:
23
26
28 UMG_API FDynamicPropertyPath(const FString& Path);
29
31 UMG_API FDynamicPropertyPath(const TArray<FString>& PropertyChain);
32
34 template<typename T>
40
42 template<typename T>
44 {
45 return PropertyPathHelpers::GetPropertyValue(InContainer, *this, OutValue, OutProperty);
46 }
47};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
Definition UnrealType.h:174
Definition Array.h:670
Definition Object.h:95
Definition PropertyPathHelpers.h:97
Definition DynamicPropertyPath.h:19
bool GetValue(UObject *InContainer, T &OutValue) const
Definition DynamicPropertyPath.h:35
bool GetValue(UObject *InContainer, T &OutValue, FProperty *&OutProperty) const
Definition DynamicPropertyPath.h:43