Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FMapProperty
- FProperty::Visit()
- FMapProperty::Visit()
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/PropertyMap.cpp |
virtual EPropertyVisitorControlFlow Visit
(
FPropertyVisitorPath & Path,
const FPropertyVisitorData & Data,
const TFunctionRef < EPropertyVisitorControlFlow &, const FPropertyVisitorData &)> InFunc
) const
Remarks
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. the new action to take one visited this property
Parameters
| Name | Description |
|---|---|
| Path | that was computed until we reached this property |
| Data | 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 |