Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- FEdGraphSchemaAction
- FEdGraphSchemaAction_K2NewNode
- FEdGraphSchemaAction_K2AddComponent
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2_Actions.h |
| Include | #include "EdGraphSchema_K2_Actions.h" |
Syntax
struct FEdGraphSchemaAction_K2AddComponent : public FEdGraphSchemaAction_K2NewNode
Remarks
Action to add an 'add component' node to the graph
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UObject > | ComponentAsset | Option asset to assign to newly created component | |
| TSubclassOf< class UActorComponent > | ComponentClass | Class of component we want to add |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FEdGraphSchemaAction_K2AddComponent
(
FText InNodeCategory, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | Simple type info. |
Overridden from FEdGraphSchemaAction
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
GC. | |
| FName | GetTypeId () |
||
| UEdGraphNode * | PerformAction
(
UEdGraph* ParentGraph, |
Execute this action, given the graph and schema, and possibly a pin that we were dragged from. |