FAssetBlueprintGraphActions::TryCreatingAssetNode

Tries to create a node from the asset passed on the graph passed in

Unreal Engine C++ API Reference > Editor > BlueprintGraph > FAssetBlueprintGraphActions

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/AssetBlueprintGraphActions.h
Include #include "AssetBlueprintGraphActions.h"
bool TryCreatingAssetNode
(
    const [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) & AssetData,
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * ParentGraph,
    const FVector2D Location,
    EK2NewNodeFlags Options
) const

Remarks

Tries to create a node from the asset passed on the graph passed in Bool of whether a node was successfully created

Parameters

Name Description
AssetData The asset being dragged/dropped
ParentGraph The Blueprint graph to drop the asset on
Location Location to spawn the new asset node at
Options Flags for node creation

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library