Navigation
Unreal Engine C++ API Reference > Runtime > PropertyPath > PropertyPathHelpers::SetPropertyValue
References
Module | PropertyPath |
Header | /Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h |
Include | #include "PropertyPathHelpers.h" |
namespace PropertyPathHelpers
{
template<typename T>
bool PropertyPathHelpers&58;&58;SetPropertyValue
&40;
UObject &42; InContainer,
const FString & InPropertyPath,
const T & InValue
&41;
}
Remarks
Set 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 string |
InValue | The value to write from |