Navigation
API > API/Editor > API/Editor/SubobjectDataInterface > API/Editor/SubobjectDataInterface/FSubobjectData
Warnings * This will not return the right component for components overridden by the inherited component handler, you need to call GetOrCreateEditableComponentTemplate instead
Description
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
| Name | GetComponentTemplate |
| Type | function |
| Header File | /Engine/Source/Editor/SubobjectDataInterface/Public/SubobjectData.h |
| Include Path | #include "SubobjectData.h" |
const UActorComponent * GetComponentTemplate
(
bool bEvenIfPendingKill
) const
The component template or instance represented by this node, if it's a component node.
Parameters
| Name | Remarks |
|---|---|
| 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). |