Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Kismet2 > API/Editor/UnrealEd/Kismet2/FComponentEditorUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h |
| Include | #include "Kismet2/ComponentEditorUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Kismet2/ComponentEditorUtils.cpp |
static UActorComponent &42; FindMatchingComponent
&40;
const UActorComponent &42; ComponentInstance,
const TInlineComponentArray< UActorComponent &42; > & ComponentList
&41;
Remarks
Tries to find a match for ComponentInstance in the ComponentList. First by name and then if multiple Components have a matching name try to match the SceneComponent hierarchy to find the best match. Valid Component pointer if match was found. nullptr otherwise.
Parameters
| Name | Description |
|---|---|
| ComponentInstance | Component we are trying to match in the ComponentList |
| ComponentList | List containing possible matches |