UBlueprintVariableNodeSpawner::CreateFromMemberOrParam

Creates a new [UBlueprintVariableNodeSpawner](API\Editor\BlueprintGraph\UBlueprintVariableNodeSpawner), charged with spawning a member-variable node (for a variable that has an associated [FProperty](API\Runtime\CoreUObject\UObject\FProperty))

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

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/BlueprintVariableNodeSpawner.h
Include #include "BlueprintVariableNodeSpawner.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/BlueprintVariableNodeSpawner.cpp
static [UBlueprintVariableNodeSpawner](API\Editor\BlueprintGraph\UBlueprintVariableNodeSpawner) * CreateFromMemberOrParam
(
    [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UK2Node_Variable](API\Editor\BlueprintGraph\UK2Node_Variable) > NodeClass,
    [FProperty](API\Runtime\CoreUObject\UObject\FProperty) const * VarProperty,
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * VarContext,
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * OwnerClass
)

Remarks

Creates a new UBlueprintVariableNodeSpawner, charged with spawning a member-variable node (for a variable that has an associated FProperty) A newly allocated instance of this class.

Parameters

Name Description
NodeClass The node type that you want the spawner to spawn.
VarProperty The property that represents the member-variable you want nodes spawned for.
VarContext The graph that the local variable belongs to.
OwnerClass The class that the variable is a member of or the class it is associated with if it is in a sidecar data structure.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library