UK2Node_CallFunction

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "K2Node_CallFunction.h"

Syntax

class UK2Node_CallFunction : public UK2Node

Variables

Name Description

Public variable

uint32: 1

 

bIsBeadFunction

Indicates that this is a 'bead' function with no fixed location; it is drawn between the nodes that it is wired to

Public variable

uint32: 1

 

bIsConstFunc

Indicates that this is a call to a const function

Public variable

uint32: 1

 

bIsFinalFunction

Indicates that this is a call to a final / superclass's function

Public variable

uint32: 1

 

bIsInterfaceCall

Indicates that this is a call to an interface function

Public variable

uint32: 1

 

bIsPureFunc

Indicates that this is a call to a pure function

Public variable

uint32: 1

 

bWantsEnumToExecExpansion

Indicates that during compile we want to create multiple exec pins from an enum param

Public variable

FMemberReferenc...

 

FunctionReference

The function to call

Constructors

Name Description

Public function

UK2Node_CallFunction

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

void

 

CallForEachElementInArrayExpansion

(
    UK2Node* Node,
    UEdGraphPin* MultiSelf,
    FKismetCompilerContext& CompilerCo...,
    UEdGraph* SourceGraph
)

Public function Static

bool

 

CanFunctionSupportMultipleTargets

(
    UFunction const* InFunction
)

Used to determine the result of AllowMultipleSelfs() (without having a node instance)

Public function

void

 

CreateExecPinsForFunctionCall

(
    const UFunction* Function
)

Create exec pins for this function. May be multiple is using 'expand enum as execs'

Public function

bool

 

CreatePinsForFunctionCall

(
    const UFunction* Function
)

Creates all of the pins required to call a particular UFunction.

Public function Virtual

UEdGraphPin ...

 

CreateSelfPin

(
    const UFunction* Function
)

Creates a self pin for the graph, taking into account the scope of the function call

Protected function Virtual

void

 

FixupSelfMemberContext()

Helper function to ensure function is called in our context

Public function Static

void

 

GeneratePinTooltipFromFunction

(
    UEdGraphPin& Pin,
    const UFunction* Function
)

Set up a pins tooltip from a function's tooltip

Public function Static

FString

 

GetCompactNodeTitle

(
    const UFunction* Function
)

Get the compact name for this function

Public function Static

FText

 

GetDefaultCategoryForFunction

(
    const UFunction* Function,
    const FText& BaseCategory
)

Get default category for this function in action menu

Public function Static

FString

 

GetDefaultTooltipForFunction

(
    const UFunction* Function
)

Gets the non-specific tooltip for the function

Public function Static

void

 

GetExpandEnumPinNames

(
    const UFunction* Function,
    TArray< FName >& EnumNamesToCheck
)

Public function Virtual Const

FText

 

GetFunctionContextString()

Get the text to use to explain the context for this function (used on node title)

Public function Const

UEdGraph ...

 

GetFunctionGraph

(
    const UEdGraphNode*& OutGraphN...
)

Returns the graph for this function, if available.

Public function Static

FText

 

GetKeywordsForFunction

(
    const UFunction* Function
)

Get keywords for this function in the action menu

Public function Static

FSlateIcon

 

GetPaletteIconForFunction

(
    UFunction const* Function,
    FLinearColor& OutColor
)

Public function Const

UEdGraphPin ...

 

GetReturnValuePin()

Get the return value pin

Public function Const

UFunction &#...

 

GetTargetFunction()

Returns the UFunction that this class is pointing to

Protected function Const

UFunction &#...

 

GetTargetFunctionFromSkeletonClass()

Helper function to find UFunction entries from the skeleton class, use with caution..

Public function Const

UEdGraphPin ...

 

GetThenPin()

Get the then output pin

Public function Static

FText

 

GetUserFacingFunctionName

(
    const UFunction* Function
)

Gets the user-facing name for the function

Public function Static

UEdGraphPin ...

 

InnerHandleAutoCreateRef

(
    UK2Node* Node,
    UEdGraphPin* Pin,
    FKismetCompilerContext& CompilerCo...,
    UEdGraph* SourceGraph,
    bool bForceAssignment
)

Public function Const

bool

 

IsLatentFunction()

Public function Static

bool

 

IsStructureWildcardProperty

(
    const UFunction* InFunction,
    const FName PropertyName
)

Checks if the property is marked as "CustomStructureParam"

Public function Static

bool

 

IsWildcardProperty

(
    const UFunction* InFunction,
    const FProperty* InProperty
)

Returns true if InProperty should be treated as a wildcard (e.g. due to SetParam markup)

Public function Virtual

void

 

PostParameterPinCreated

(
    UEdGraphPin* Pin
)

Public function Virtual

void

 

SetFromFunction

(
    const UFunction* Function
)

Set properties of this node from a supplied function (does not save ref to function)

Public function Static

bool

 

ShouldDrawCompact

(
    const UFunction* Function
)

Should be drawn compact for this function

Overridden from UK2Node

Name Description

Public function Virtual Const

bool

 

AllowMultipleSelfs

(
    bool bInputAsArray
)

Public function Virtual Const

FNodeHandlin...

 

CreateNodeHandler

(
    FKismetCompilerContext& CompilerCo...
)

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 Const

FText

 

GetCompactNodeTitle()

Return title if drawing this node in 'compact' mode

Public function Virtual Const

FName

 

GetCornerIcon()

Public function Virtual Const

FText

 

GetMenuCategory()

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

Public function Virtual Const

void

 

GetNodeAttributes

(
    TArray< TKeyValuePair< FString, FSt...
)

This function returns an arbitrary number of attributes that describe this node for analytics events

Public function Virtual Const

void

 

GetRedirectPinNames

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

Determines what the possible redirect pin names are

Public function Virtual Const

FText

 

GetToolTipHeading()

Public function Virtual Const

bool

 

HasExternalDependencies

(
    TArray< class UStruct* >*...
)

Returns whether or not this node has dependencies on an external structure If OptionalOutput isn't null, it should be filled with the known dependencies objects (Classes, Structures, Functions, etc).

Public function Virtual

bool

 

IsActionFilteredOut

(
    FBlueprintActionFilter const& Filt...
)

Determine if the node of this type should be filtered in the actions menu

Public function Virtual Const

bool

 

IsConnectionDisallowed

(
    const UEdGraphPin* MyPin,
    const UEdGraphPin* OtherPin,
    FString& OutReason
)

Public function Virtual Const

bool

 

IsNodePure()

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

Public function Virtual

void

 

NotifyPinConnectionListChanged

(
    UEdGraphPin* Pin
)

Called when the connection list of one of the pins of this node is changed in the editor, after the pin has had it's literal cleared

Public function Virtual

void

 

PostReconstructNode()

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

Public function Virtual

void

 

ReallocatePinsDuringReconstruction

(
    TArray< UEdGraphPin* >& OldPi...
)

Reallocate pins during reconstruction; by default ignores the old pins and calls AllocateDefaultPins() If you override this to create additional pins you likely need to call RestoreSplitPins to restore any pins that have been split (e.g. a vector pin split into its components)

Public function Virtual Const

bool

 

ShouldDrawAsBead()

Should draw as a bead with no location of it's own

Public function Virtual Const

bool

 

ShouldDrawCompact()

Should draw compact

Public function Virtual Const

bool

 

ShouldShowNodeProperties()

Return whether the node's properties display in the blueprint details panel

Overridden from UEdGraphNode

Name Description

Public function Virtual Const

void

 

AddSearchMetaDataInfo

(
    TArray< struct FSearchTagDataPair >...
)

Add's node data to the search metadata, override to collect more data that may be desirable to search for

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

 

CanJumpToDefinition()

Returns true if it is possible to jump to the definition of this node (e.g., if it's a variable get or a function call)

Public function Virtual Const

bool

 

CanPasteHere

(
    const UEdGraph* TargetGraph
)

Determine if this node can live in the specified graph

Public function Virtual Const

TSharedPtr< ...

 

CreateNodeImage()

Create the background image for the widget representing this node

Public function Virtual Const

FEdGraphNode...

 

GetDeprecationResponse

(
    EEdGraphNodeDeprecationType Depreca...
)

Returns the response to use when reporting a deprecation.

Public function Virtual Const

FString

 

GetDescriptiveCompiledName()

Tries to come up with a descriptive name for the compiled output

Public function Virtual Const

FString

 

GetDocumentationExcerptName()

Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix)

Public function Virtual Const

FString

 

GetDocumentationLink()

Returns the link used for external documentation for the graph node

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

UObject *...

 

GetJumpTargetForDoubleClick()

Returns the object that should be focused when double-clicking on this node (the object can be an actor, which selects it in the world, or a node/graph/pin)

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

void

 

GetPinHoverText

(
    const UEdGraphPin& Pin,
    FString& HoverTextOut
)

Fetch the hover text for a pin when the graph is being edited.

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

void

 

JumpToDefinition()

Jump to the definition of this node (should only be called if CanJumpToDefinition() return true)

Public function Virtual

void

 

PinDefaultValueChanged

(
    UEdGraphPin* Pin
)

Called when the DefaultValue of one of the pins of this node is changed in the editor

Public function Virtual

void

 

PostPasteNode()

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

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

 

PostDuplicate

(
    bool bDuplicateForPIE
)

Called after duplication & serialization and before PostLoad.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

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