Module |
|
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
(
UActorComponent * ComponentInstance,
const TInlineComponentArray< UActorComponent * > & ComponentList
)
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.
Parameter |
Description |
---|---|
ComponentInstance |
Component we are trying to match in the ComponentList |
ComponentList |
List containing possible matches |