FSCSEditorTreeNode::GetComponentTemplate

Deliberately non-virtual, for performance reasons.

Unreal Engine C++ API Reference > Editor > Kismet > FSCSEditorTreeNode

Warnings * This will not return the right component for components overridden by the inherited component handler, you need to call GetOrCreateEditableComponentTemplate instead

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/SSCSEditor.h
Include #include "SSCSEditor.h"
[UActorComponent](API\Runtime\Engine\Components\UActorComponent) * GetComponentTemplate
(
    bool bEvenIfPendingKill
) const

Remarks

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.

Parameters

Name 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).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library