Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FArrayProperty
Description
Visits this property and allows recursion into the inner properties This method allows callers to visit inner properties without knowing about its container type as opposed to TPropertyIterator. This visit property pattern facilitates the recursion into user defined properties and allows users to add specific visit logic on UStruct via traits.
Virtual Inheritance
- FProperty::Visit → FArrayProperty::Visit
| Name | Visit |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PropertyArray.cpp |
virtual EPropertyVisitorControlFlow Visit
(
FPropertyVisitorContext & Context,
const TFunctionRef < EPropertyVisitorControlFlow &)> InFunc
) const
the new action to take one visited this property
Parameters
| Name | Remarks |
|---|---|
| Context | which containes the path that was computed until we reached this property and the sata to the property to visit |
| InFunc | to call on each visited property, the return value controls what is the next behavior once this property has been visited |