UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPropertyPathSegment Struct Reference

#include <PropertyPathHelpers.h>

Public Member Functions

PROPERTYPATH_API FPropertyPathSegment ()
 
PROPERTYPATH_API FPropertyPathSegment (int32 InCount, const TCHAR *InString)
 
PROPERTYPATH_API void PostSerialize (const FArchive &Ar)
 
PROPERTYPATH_API FFieldVariant Resolve (UStruct *InStruct) const
 
PROPERTYPATH_API FName GetName () const
 
PROPERTYPATH_API int32 GetArrayIndex () const
 
PROPERTYPATH_API FFieldVariant GetField () const
 
PROPERTYPATH_API UStructGetStruct () const
 

Static Public Member Functions

static PROPERTYPATH_API FPropertyPathSegment MakeUnresolvedCopy (const FPropertyPathSegment &ToCopy)
 

Public Attributes

FName Name
 
int32 ArrayIndex
 

Friends

struct FCachedPropertyPath
 

Detailed Description

Base class for cached property path segments

Constructor & Destructor Documentation

◆ FPropertyPathSegment() [1/2]

FPropertyPathSegment::FPropertyPathSegment ( )

UStruct boilerplate constructor - do not use

◆ FPropertyPathSegment() [2/2]

FPropertyPathSegment::FPropertyPathSegment ( int32  InCount,
const TCHAR InString 
)

Construct from char count and storage

Member Function Documentation

◆ GetArrayIndex()

int32 FPropertyPathSegment::GetArrayIndex ( ) const
Returns
the array index of this segment

◆ GetField()

FFieldVariant FPropertyPathSegment::GetField ( ) const
Returns
the resolved field

◆ GetName()

FName FPropertyPathSegment::GetName ( ) const
Returns
the name of this segment

◆ GetStruct()

UStruct * FPropertyPathSegment::GetStruct ( ) const
Returns
the resolved struct

◆ MakeUnresolvedCopy()

FPropertyPathSegment FPropertyPathSegment::MakeUnresolvedCopy ( const FPropertyPathSegment ToCopy)
static

Make a copy which is unresolved

◆ PostSerialize()

void FPropertyPathSegment::PostSerialize ( const FArchive Ar)

Called after this event has been serialized in order to cache the field pointer if necessary

◆ Resolve()

FFieldVariant FPropertyPathSegment::Resolve ( UStruct InStruct) const

Resolves the name on the given Struct. Can be used to cache the resulting property so that future calls can be processed quickly.

Parameters
InStructthe ScriptStruct or Class to look for the property on.

Friends And Related Symbol Documentation

◆ FCachedPropertyPath

Member Data Documentation

◆ ArrayIndex

int32 FPropertyPathSegment::ArrayIndex

The optional array index.

◆ Name

FName FPropertyPathSegment::Name

The sub-component of the property path, a single value between .'s of the path


The documentation for this struct was generated from the following files: