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))

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/BlueprintVariableNodeSpawner.h

Include

#include "BlueprintVariableNodeSpawner.h"

Source

/Engine/Source/Editor/BlueprintGraph/Private/BlueprintVariableNodeSpawner.cpp

Syntax

static UBlueprintVariableNodeSpawner * CreateFromMemberOrParam
(
    TSubclassOf< UK2Node_Variable > NodeClass,
    FProperty const * VarProperty,
    UEdGraph * VarContext,
    UClass * OwnerClass
)

Remarks

Creates a new UBlueprintVariableNodeSpawner, charged with spawning a member-variable node (for a variable that has an associated FProperty)

Returns

A newly allocated instance of this class.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss