Navigation
API > API/Runtime > API/Runtime/PropertyPath
Base class for cached property path segments
| Name | FPropertyPathSegment |
| Type | struct |
| Header File | /Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h |
| Include Path | #include "PropertyPathHelpers.h" |
Syntax
USTRUCT ()
struct FPropertyPathSegment
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UStruct boilerplate constructor - do not use | PropertyPathHelpers.h | ||
FPropertyPathSegment
(
int32 InCount, |
Construct from char count and storage | PropertyPathHelpers.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArrayIndex | int32 | The optional array index. | PropertyPathHelpers.h | |
| Name | FName | The sub-component of the property path, a single value between .'s of the path | PropertyPathHelpers.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Field | FFieldVariant | The cached property on the Struct that this Name resolved to on it last time Resolve was called, if the Struct doesn't change, this value is returned to avoid performing another Field lookup. | PropertyPathHelpers.h | |
| Struct | TObjectPtr< UStruct > | The cached Class or ScriptStruct that was used last to resolve Name to a property. | PropertyPathHelpers.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetArrayIndex() |
PropertyPathHelpers.h | ||
FFieldVariant GetField() |
PropertyPathHelpers.h | ||
FName GetName() |
PropertyPathHelpers.h | ||
UStruct * GetStruct() |
PropertyPathHelpers.h | ||
void PostSerialize
(
const FArchive& Ar |
Called after this event has been serialized in order to cache the field pointer if necessary | PropertyPathHelpers.h | |
FFieldVariant Resolve
(
UStruct* InStruct |
Resolves the name on the given Struct. | PropertyPathHelpers.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FPropertyPathSegment MakeUnresolvedCopy
(
const FPropertyPathSegment& ToCopy |
Make a copy which is unresolved | PropertyPathHelpers.h |