PropertyPathHelpers::GetPropertyValueFast

Get the value and the leaf property represented by this property path, forcing the use of cached addresses whether or not the path resolves over object or dynamic array boundaries.

Choose your operating system:

Windows

macOS

Linux

References

Module

PropertyPath

Header

/Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h

Include

#include "PropertyPathHelpers.h"

Syntax

namespace PropertyPathHelpers
{
    template<typename T>
    bool PropertyPathHelpers::GetPropertyValueFast
    (
        UObject * InContainer,
        const FCachedPropertyPath & InPropertyPath,
        T & OutValue,
        FProperty *& OutProperty
    )
}

Remarks

Get the value and the leaf property represented by this property path, forcing the use of cached addresses whether or not the path resolves over object or dynamic array boundaries. Using this function implies that the path is resolved and has not changed since last resolution.

Returns

true if the property value was successfully copied

Parameters

Parameter

Description

InContainer

The container object to resolve the property path against

InPropertyPath

The property path

OutValue

The value to write to

OutProperty

The leaf property that the path resolved to