Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintAssetNodeSpawner
Description
Creates a new UBlueprintAssetNodeSpawner for the supplied asset. Does not do any compatibility checking to ensure that the asset is viable for blueprint use.
| Name | Create |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintAssetNodeSpawner.h |
| Include Path | #include "BlueprintAssetNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintAssetNodeSpawner.cpp |
static UBlueprintAssetNodeSpawner * Create
(
TSubclassOf < UEdGraphNode > const InNodeClass,
const FAssetData & InAssetData,
UObject * InOuter,
FCustomizeNodeDelegate InPostSpawnDelegate
)
A newly allocated instance of this class.
Parameters
| Name | Remarks |
|---|---|
| InNodeClass | The type of node you want the spawner to create. |
| InAssetData | The asset you want assigned to new nodes. |
| InOuter | Optional outer for the new spawner (if left null, the transient package will be used). |
| InPostSpawnDelegate | A delegate to perform specialized node setup post-spawn. |