Navigation
API > API/Runtime > API/Runtime/PropertyPath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PropertyPathHelpers::SetPropertyValue
(
UObject* InContainer, |
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. | PropertyPathHelpers.h | |
bool PropertyPathHelpers::SetPropertyValue
(
UObject* InContainer, |
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. | PropertyPathHelpers.h |
PropertyPathHelpers::SetPropertyValue(UObject *, const FCachedPropertyPath &, const T &)
Description
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.
| Name | PropertyPathHelpers::SetPropertyValue |
| Type | function |
| Header File | /Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h |
| Include Path | #include "PropertyPathHelpers.h" |
namespace PropertyPathHelpers
{
template<typename T>
bool PropertyPathHelpers::SetPropertyValue
(
UObject * InContainer,
const FCachedPropertyPath & InPropertyPath,
const T & InValue
)
}
true if the property value was successfully copied
Parameters
| Name | Remarks |
|---|---|
| InContainer | The container object to resolve the property path against |
| InPropertyPath | The property path |
| InValue | The value to write from |
PropertyPathHelpers::SetPropertyValue(UObject *, const FString &, const T &)
Description
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.
| Name | PropertyPathHelpers::SetPropertyValue |
| Type | function |
| Header File | /Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h |
| Include Path | #include "PropertyPathHelpers.h" |
namespace PropertyPathHelpers
{
template<typename T>
bool PropertyPathHelpers::SetPropertyValue
(
UObject * InContainer,
const FString & InPropertyPath,
const T & InValue
)
}
true if the property value was successfully copied
Parameters
| Name | Remarks |
|---|---|
| InContainer | The container object to resolve the property path against |
| InPropertyPath | The property path string |
| InValue | The value to write from |