UK2Node_MakeStruct

Pure kismet node that creates a struct with specified values for each member.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "K2Node_MakeStruct.h"

Syntax

class UK2Node_MakeStruct : public UK2Node_StructMemberSet

Remarks

Pure kismet node that creates a struct with specified values for each member.

Variables

Name Description

Public variable

bool

 

bMadeAfterOverridePinRemoval

Helper property to handle upgrades from an old system of displaying pins for the override values that properties referenced as a conditional of being set in a struct

Constructors

Name Description

Public function

UK2Node_MakeStruct

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

bool

 

CanBeMade

(
    const UScriptStruct* Struct,
    bool bForInternalUse
)

Returns false if:

Public function Static

bool

 

CanBeSplit

(
    const UScriptStruct* Struct,
    UBlueprint* InBP
)

Can this struct be used as a split pin

Overridden from UK2Node

Name Description

Public function Virtual

void

 

ConvertDeprecatedNode

(
    UEdGraph* Graph,
    bool bOnlySafeChanges
)

Performs a node-specific deprecation fixup, which may delete this node and replace it with another one

Public function Virtual Const

FNodeHandlin...

 

CreateNodeHandler

(
    FKismetCompilerContext& CompilerCo...
)

Public function Virtual Const

ERedirectTyp...

 

DoPinsMatchForReconstruction

(
    const UEdGraphPin* NewPin,
    int32 NewPinIndex,
    const UEdGraphPin* OldPin,
    int32 OldPinIndex
)

Whether or not two pins match for purposes of reconnection after reconstruction.

Public function Virtual Const

bool

 

DrawNodeAsVariable()

Return whether to draw this node as a small variable node

Public function Virtual Const

void

 

GetMenuActions

Replacement for GetMenuEntries().

Public function Virtual Const

FText

 

GetMenuCategory()

Override to provide a default category for specific node types to be listed under.

Public function Virtual Const

bool

 

IsNodePure()

Returns whether this node is considered 'pure' by the compiler

Public function Virtual Const

bool

 

NodeCausesStructuralBlueprintChange()

Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint

Public function Virtual

void

 

PreloadRequiredAssets()

Called before compilation begins, giving a blueprint time to force the linker to load data

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FLinearColor

 

GetNodeTitleColor()

Gets the draw color of a node's title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual

void

 

PostPlacedNewNode()

A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called.

Public function Virtual Const

void

 

ValidateNodeDuringCompilation

(
    FCompilerResultsLog& MessageLog
)

Gives each visual node a chance to do final validation before it's node is harvested for use at runtime.

Overridden from UObject

Name Description

Public function Virtual

void

 

PreSave

(
    FObjectPreSaveContext SaveContext
)

Presave function.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Classes

Name

Description

Protected struct

FMakeStructPinManager