Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UK2Node
- UK2Node_CallFunction
- UK2Node_AddComponent
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_AddComponent.h |
Include | #include "K2Node_AddComponent.h" |
Syntax
class UK2Node_AddComponent : public UK2Node_CallFunction
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bHasExposedVariable | |
![]() |
FString | TemplateBlueprint | The blueprint name we came from, so we can lookup the template after a paste |
![]() |
TObjectPtr< UClass > | TemplateType |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UK2Node_AddComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ||
![]() |
void | ||
![]() ![]() |
FName | Static name of function to call | |
![]() ![]() |
UEdGraphPin * | ||
![]() ![]() |
UEdGraphPin * | ||
![]() ![]() |
UActorComponent * | Tries to get a template object from this node. | |
![]() ![]() |
UEdGraphPin * | ||
![]() |
void | Helper method used to instantiate a new component template after duplication. | |
![]() |
FName | MakeNewComponentTemplateName
(
UObject* InOuter, |
Helper method used to generate a new, unique component template name. |
Overridden from UK2Node
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ExpandNode
(
FKismetCompilerContext& CompilerContext, |
Expands a node while compiling, which may add additional nodes or delete this node |
![]() ![]() |
void | Called at the end of ReconstructNode, allows node specific work to be performed | |
![]() ![]() |
void | ReallocatePinsDuringReconstruction
(
TArray< UEdGraphPin* >& OldPins |
Reallocate pins during reconstruction; by default ignores the old pins and calls AllocateDefaultPins() If you override this to create additional pins you likely need to call RestoreSplitPins to restore any pins that have been split (e.g. a vector pin split into its components) |
Overridden from UEdGraphNode
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Allocate default pins for a given node, based only the NodeType, which should already be filled in. | |
![]() ![]() |
void | DestroyNode () |
Destroy the specified node |
![]() ![]() |
void | FindDiffs
(
UEdGraphNode* OtherNode, |
Gives the node the option to customize how diffs are discovered within it. |
![]() ![]() ![]() |
FString | Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix) | |
![]() ![]() ![]() |
FString | Returns the link used for external documentation for the graph node | |
![]() ![]() ![]() |
FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar |
![]() ![]() ![]() |
bool | IsCompatibleWithGraph
(
UEdGraph const* Graph |
Determine if a node of this type can be created for the specified graph. |
![]() ![]() |
void | Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor | |
![]() ![]() |
void | Perform any steps necessary prior to copying a node into the paste buffer | |
![]() ![]() |
void | Refresh the connectors on a node, preserving as many connections as it can. | |
![]() ![]() ![]() |
void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
Gives each visual node a chance to do final validation before it's node is harvested for use at runtime. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Constants
Name | Description |
---|---|
ComponentTemplateNamePrefix | Prefix used for component template object name. |
NAME_ManualAttachment | |
NAME_RelativeTransform |