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 FComponentReference MakeComponentReference
&40;
const AActor &42; ExpectedComponentOwner,
const UActorComponent &42; Component
&41;
Remarks
Make a FComponentReference from a component pointer.
Parameters
| Name | Description |
|---|---|
| ExpectedComponentOwner | The expected component owner. Should be the same as OwningActor from FComponentReference::GetComponent(). |
| Component | The component we would like to initialize the FComponentReference with. |