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 * FindMatchingComponent
(
const UActorComponent * ComponentInstance,
const TInlineComponentArray< UActorComponent * > & ComponentList
)
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 |