Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UEdGraphNode
- UK2Node
- UK2Node_CallFunction
- UK2Node_AddComponent
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_AddComponent.h |
| Include | #include "K2Node_AddComponent.h" |
Syntax
UCLASS (MinimalAPI)
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 | |||
| void | DestroyNode () |
||
| void | FindDiffs
(
UEdGraphNode* OtherNode, |
||
| FName | Static name of function to call | ||
| UEdGraphPin * | |||
| UEdGraphPin * | |||
| UActorComponent * | Tries to get a template object from this node. | ||
| UEdGraphPin * | |||
| bool | IsCompatibleWithGraph
(
UEdGraph const* Graph |
||
| 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. | |
| void |
Overridden from UK2Node_CallFunction
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | By default, pure nodes can be toggled. | ||
| FString | |||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| void |
Overridden from UK2Node
| Type | Name | Description | |
|---|---|---|---|
| void | ExpandNode
(
FKismetCompilerContext& CompilerContext, |
Expands a node while compiling, which may add additional nodes or delete this node | |
| FString | |||
| 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) | |
| void | |||
| void | Serialize
(
FArchive& Ar |
||
| void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
Constants
| Name | Description |
|---|---|
| ComponentTemplateNamePrefix | Prefix used for component template object name. |
| NAME_ManualAttachment | |
| NAME_RelativeTransform |