Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UBlueprintAssetNodeSpawner
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintAssetNodeSpawner.h |
| Include | #include "BlueprintAssetNodeSpawner.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintAssetNodeSpawner.cpp |
static UBlueprintAssetNodeSpawner &42; Create
&40;
TSubclassOf< UEdGraphNode > const InNodeClass,
const FAssetData & InAssetData,
UObject &42; InOuter,
FCustomizeNodeDelegate InPostSpawnDelegate
&41;
Remarks
Creates a new UBlueprintAssetNodeSpawner for the supplied asset. Does not do any compatibility checking to ensure that the asset is viable for blueprint use. A newly allocated instance of this class.
Parameters
| Name | Description |
|---|---|
| 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. |