Navigation
Unreal Engine C++ API Reference > Runtime > PropertyPath > PropertyPathHelpers::GetPropertyValue
References
Module | PropertyPath |
Header | /Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h |
Include | #include "PropertyPathHelpers.h" |
namespace PropertyPathHelpers
{
template<typename T>
bool PropertyPathHelpers&58;&58;GetPropertyValue
&40;
UObject &42; InContainer,
const FCachedPropertyPath & InPropertyPath,
T & OutValue,
FProperty &42;& OutProperty
&41;
}
Remarks
Get the value and the leaf property represented by this property path. If the cached property path has a cached address it will use that as a 'fast path' instead of iterating the path. This has safety implications depending on the form of the path, so paths that are resolved over object boundaries or dynamic arrays will always use the slow path for safety. true if the property value was successfully copied
Parameters
Name | 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 |