Navigation
Unreal Engine C++ API Reference > 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](API\Editor\BlueprintGraph\UBlueprintAssetNodeSpawner) * Create ( [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) > const InNodeClass, const [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) & InAssetData, [UObject](API\Runtime\CoreUObject\UObject\UObject) * InOuter, [FCustomizeNodeDelegate](API\Editor\BlueprintGraph\UBlueprintNodeSpawner\FCustomizeNodeDelegate) InPostSpawnDelegate )
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. |