UK2Node_FunctionEntry

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "K2Node_FunctionEntry.h"

Syntax

class UK2Node_FunctionEntry : public UK2Node_FunctionTerminator

Variables

Name Description

Public variable

bool

 

bEnforceConstCorrectness

Whether or not to enforce const-correctness for const function overrides

Protected variable

bool

 

bUpdatedDefaultValuesOnLoad

True if we've updated the default values on this node at least once

Public variable

FName

 

CustomGeneratedFunctionName

If specified, the function that is created for this entry point will have this name.

Protected variable

int32

 

ExtraFlags

Any extra flags that the function may need

Protected variable

TSharedPtr< FSt...

 

FunctionVariableCache

Holds a an in-memory representation of the UFunction struct, used to fixup local and user variables

Public variable

TArray< FBPVari...

 

LocalVariables

Array of local variables to be added to generated function

Public variable

FKismetUserDecl...

 

MetaData

Function metadata

Constructors

Name Description

Public function

UK2Node_FunctionEntry

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddExtraFlags

(
    int32 InFlags
)

Public function

void

 

ClearExtraFlags

(
    int32 InFlags
)

Public function Const

UEdGraphPin ...

 

GetAutoWorldContextPin()

Returns pin for the automatically added WorldContext parameter (used only by BlueprintFunctionLibrary).

Public function Const

int32

 

GetExtraFlags()

Retrieves the extra flags set on this node.

Public function Const

int32

 

GetFunctionFlags()

Retrieves the function flags from the UFunction that this function entry node represents

Public function

TSharedPtr< ...

 

GetFunctionVariableCache

(
    bool bForceRefresh
)

Gets the UFunction and function variable cache structure that should be used for serialization fixups for local variables.

Public function Const

bool

 

HasAllExtraFlags

(
    int32 FlagsToCheck
)

Used to safely check whether all of the passed in flags are set.

Public function Const

bool

 

HasAnyExtraFlags

(
    int32 FlagsToCheck
)

Used to safely check whether the passed in flag is set.

Public function Virtual Const

bool

 

IsCompatibleWithGraph

(
    const UEdGraph* InGraph
)

Public function

bool

 

RefreshFunctionVariableCache()

Copies data from the local variable defaults into the variable cache

Public function

void

 

RemoveOutputPin

(
    UEdGraphPin* PinToRemove
)

Removes an output pin from the node.

Public function

void

 

SetExtraFlags

(
    int32 InFlags
)

Set the extra flags on this node

Protected function

bool

 

UpdateDefaultsFromVariableStruct

(
    const UStruct* VariableStruct,
    uint8* VariableStructData
)

Copies data from VariableStruct into the local variables

Public function

bool

 

UpdateLoadedDefaultValues

(
    bool bForceRefresh
)

Handles updating loaded default values, by going default string into variable cache and back, if bForceRefresh it will happen even if the cache is already setup

Protected function

bool

 

UpdateVariableStructFromDefaults

(
    const UStruct* VariableStruct,
    uint8* VariableStructData
)

Copies data from any local variables matching properties in VariableStruct into the VariableStructData

Overridden from UK2Node_EditablePinBase

Name Description

Public function Virtual

bool

 

CanCreateUserDefinedPin

(
    const FEdGraphPinType& InPinType,
    EEdGraphPinDirection InDesiredDirec...,
    FText& OutErrorMessage
)

Queries if a user defined pin of the passed type can be constructed on this node.

Public function Virtual Const

bool

 

CanUseRefParams()

Can this node have pass-by-reference parameters?

Public function Virtual

UEdGraphPin ...

 

CreatePinFromUserDefinition

(
    const TSharedPtr< FUserPinInfo > Ne...
)

Creates a new pin on the node from the specified user pin info.

Public function Virtual

bool

 

ModifyUserDefinedPinDefaultValue

(
    TSharedPtr< FUserPinInfo > PinInfo,
    const FString& NewDefaultValue
)

Modifies the default value of an existing pin on the node, this will update both the UserPinInfo and the linked editor pin

Public function Virtual Const

bool

 

ShouldUseConstRefParams()

Should this node require 'const' for pass-by-reference parameters?

Overridden from UK2Node

Name Description

Public function Virtual

void

 

ClearCachedBlueprintData

(
    UBlueprint* Blueprint
)

Clears out any cached data that needs to be regenerated after a structural blueprint change

Public function Virtual Const

FNodeHandlin...

 

CreateNodeHandler

(
    FKismetCompilerContext& CompilerCo...
)

Public function Virtual Const

bool

 

DrawNodeAsEntry()

Return whether to draw this node as an entry

Public function Virtual

void

 

ExpandNode

(
    FKismetCompilerContext& CompilerCo...,
    UEdGraph* SourceGraph
)

Expands a node while compiling, which may add additional nodes or delete this node

Public function Virtual

void

 

FixupPinStringDataReferences

(
    FArchive* SavingArchive
)

Fixes up structure/soft object ref pins, on both save and load

Public function Virtual Const

void

 

GetRedirectPinNames

(
    const UEdGraphPin& Pin,
    TArray< FString >& RedirectPinName...
)

Determines what the possible redirect pin names are

Public function Virtual

void

 

PostReconstructNode()

Called at the end of ReconstructNode, allows node specific work to be performed

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

bool

 

CanUserDeleteNode()

Whether or not this node can be deleted by user action

Public function Virtual

void

 

FindDiffs

(
    UEdGraphNode* OtherNode,
    FDiffResults& Results
)

Gives the node the option to customize how diffs are discovered within it.

Public function Virtual Const

bool

 

GetCanRenameNode()

If true, this node can be renamed in the editor

Public function Virtual Const

FEdGraphNode...

 

GetDeprecationResponse

(
    EEdGraphNodeDeprecationType Depreca...
)

Returns the response to use when reporting a deprecation.

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual Const

bool

 

HasDeprecatedReference()

Returns true if this node references a deprecated type or member.

Public function Virtual Const

TSharedPtr< ...

 

MakeNameValidator()

Create a name validator for this node

Public function Virtual

void

 

OnRenameNode

(
    const FString& NewName
)

Called when this node is being renamed after a successful name validation

Public function Virtual

void

 

PostPasteNode()

Perform any fixups (deep copies of associated data, etc...) necessary after a node has been pasted in the editor

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

PreSave

(
    FObjectPreSaveContext SaveContext
)

Presave function.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Deprecated Functions

Name Description

Public function Virtual

void

 

PreSave

(
    const ITargetPlatform* TargetP...
)

Use version that takes FObjectPreSaveContext instead.