Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UStruct > API/Runtime/CoreUObject/UObject/UStruct/Visit
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
EPropertyVisitorControlFlow Visit
(
void * 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 |
|---|---|
| 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 |