Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Property.cpp |
void PerformOperationWithSetter
(
void * OutContainer,
void * DirectPropertyAddress,
TFunctionRef < void> DirectValueAccessFunc
) const
Remarks
Helper function for setting container / struct property value and performing operation directly on the value memory
Parameters
| Name | Description |
|---|---|
| OutContainer | Pointer to the container that owns the property. Can be null but then setters and getters will not be used. |
| DirectPropertyAddress | Direct property value address. Can be null only if OutContainer is a valid pointer. |
| DirectValueAccessFunc | Function that manipulates directly on property value address. The value address can be different than the passed in DirectPropertyAddress if setters and getters are present and OutContainer pointer is valid. |