Warnings
This will not return the right component for components overridden by the inherited component handler, you need to call GetOrCreateEditableComponentTemplate instead
Module |
|
Header |
/Engine/Source/Editor/Kismet/Public/SSCSEditor.h |
Include |
#include "SSCSEditor.h" |
Source |
/Engine/Source/Editor/Kismet/Private/SSCSEditor.cpp |
UActorComponent * GetComponentTemplate
(
bool bEvenIfPendingKill
) const
Deliberately non-virtual, for performance reasons.
This will not return the right component for components overridden by the inherited component handler, you need to call GetOrCreateEditableComponentTemplate instead
The component template or instance represented by this node, if it's a component node.
Parameter |
Description |
---|---|
bEvenIfPendingKill |
If false, nullptr will be returned if the cached component template is pending kill. If true, it will be returned regardless (this is used for recaching the component template if the objects have been reinstanced following construction script execution). |