Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UEdGraphNode
- UK2Node
- UK2Node_CallFunction
- UK2Node_AddComponent
- UK2Node_CallArrayFunction
- UK2Node_CallDataTableFunction
- UK2Node_CallFunctionOnMember
- UK2Node_CallMaterialParameterCollectionFunction
- UK2Node_CallParentFunction
- UK2Node_CommutativeAssociativeBinaryOperator
- UK2Node_GetInputAxisKeyValue
- UK2Node_GetInputVectorAxisValue
- UK2Node_GetInputAxisValue
- UK2Node_InstancedStruct
- UK2Node_Message
- UK2Node_PromotableOperator
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_CallFunction.h |
| Include | #include "K2Node_CallFunction.h" |
Syntax
UCLASS ()
class UK2Node_CallFunction : public UK2Node
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bDefaultsToPureFunc | Indicates that the bound function defaults to a pure state | |
| uint32: 1 | bIsBeadFunction | ||
| uint32: 1 | bIsConstFunc | ||
| uint32: 1 | bIsFinalFunction | ||
| uint32: 1 | bIsInterfaceCall | ||
| uint32: 1 | bIsPureFunc | ||
| uint32: 1 | bWantsEnumToExecExpansion | Indicates that during compile we want to create multiple exec pins from an enum param | |
| FNodeTextCache | CachedTooltip | Constructing FText strings can be costly, so we cache the node's tooltip | |
| FMemberReference | FunctionReference | The function to call |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_CallFunction
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPinSearchMetaDataInfo
(
const UEdGraphPin* Pin, |
||
| void | AddSearchMetaDataInfo
(
TArray< struct FSearchTagDataPair >& OutTaggedMetaData |
||
| void | |||
| void | CallForEachElementInArrayExpansion
(
UK2Node* Node, |
||
| bool | CanEditorOnlyFunctionBeCalled
(
const UFunction* InFunction, |
Checks if the input function can be called in the input object with respect to editor-only/runtime mismatch | |
| bool | CanFunctionSupportMultipleTargets
(
UFunction const* InFunction |
Used to determine the result of AllowMultipleSelfs() (without having a node instance) | |
| bool | CanPasteHere
(
const UEdGraph* TargetGraph |
||
| bool | By default, pure nodes can be toggled. | ||
| void | CreateExecPinsForFunctionCall
(
const UFunction* Function |
Create exec pins for this function. May be multiple is using 'expand enum as execs' | |
| TSharedPtr< SWidget > | |||
| bool | CreatePinsForFunctionCall
(
const UFunction* Function |
Creates all of the pins required to call a particular UFunction. | |
| UEdGraphPin * | CreateSelfPin
(
const UFunction* Function |
Creates a self pin for the graph, taking into account the scope of the function call | |
| void | Helper function to ensure function is called in our context | ||
| void | GeneratePinTooltipFromFunction
(
UEdGraphPin& Pin, |
Set up a pins tooltip from a function's tooltip | |
| FString | GetCompactNodeTitle
(
const UFunction* Function |
Get the compact name for this function | |
| FText | GetDefaultCategoryForFunction
(
const UFunction* Function, |
Get default category for this function in action menu | |
| FString | GetDefaultTooltipForFunction
(
const UFunction* Function |
||
| FEdGraphNodeDeprecationResponse | GetDeprecationResponse
(
EEdGraphNodeDeprecationType DeprecationType |
||
| FString | |||
| FString | |||
| void | GetExpandEnumPinNames
(
const UFunction* Function, |
||
| FString | GetFindReferenceSearchString_Impl
(
EGetFindReferenceSearchStringFlags InFlags |
||
| FText | Get the text to use to explain the context for this function (used on node title) | ||
| UEdGraph * | GetFunctionGraph
(
const UEdGraphNode*& OutGraphNode |
Returns the graph for this function, if available. | |
| FName | Gets the name of the referenced function | ||
| FSlateIcon | GetIconAndTint
(
FLinearColor& OutColor |
||
| FText | GetKeywordsForFunction
(
const UFunction* Function |
Get keywords for this function in the action menu | |
| void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| FSlateIcon | GetPaletteIconForFunction
(
UFunction const* Function, |
||
| TSet< FName > | GetRequiredParamNames
(
const UFunction* ForFunction |
Helper function for searching a UFunction for the names of requires pins/params: | |
| UEdGraphPin * | Get the return value pin | ||
| UFunction * | Returns the UFunction that this class is pointing to | ||
| UFunction * | Helper function to find UFunction entries from the skeleton class, use with caution.. | ||
| FText | |||
| FText | GetUserFacingFunctionName
(
const UFunction* Function, |
||
| bool | |||
| bool | HasExternalDependencies
(
TArray< class UStruct* >* OptionalOutput |
||
| UEdGraphPin * | InnerHandleAutoCreateRef
(
UK2Node* Node, |
||
| void | Invalidates current pin tool tips, so that they will be refreshed before being displayed: | ||
| bool | |||
| bool | IsStructureWildcardProperty
(
const UFunction* InFunction, |
Checks if the property is marked as "CustomStructureParam" | |
| bool | IsWildcardProperty
(
const UFunction* InFunction, |
Returns true if InProperty should be treated as a wildcard (e.g. due to SetParam markup) | |
| void | PinDefaultValueChanged
(
UEdGraphPin* Pin |
||
| void | PostDuplicate
(
bool bDuplicateForPIE |
||
| void | PostParameterPinCreated
(
UEdGraphPin* Pin |
||
| void | |||
| void | |||
| void | SetFromFunction
(
const UFunction* Function |
Set properties of this node from a supplied function (does not save ref to function) | |
| bool | ShouldDrawCompact
(
const UFunction* Function |
Should be drawn compact for this function | |
| void | Adds this function to the suppressed deprecation warnings list for this project | ||
| void | ValidateRequiredPins
(
const UFunction* Function, |
Routine for validating that all UPARAM(Required) parmas have a connection: |
Overridden from UK2Node
| Type | Name | Description | |
|---|---|---|---|
| bool | AllowMultipleSelfs
(
bool bInputAsArray |
||
| bool | |||
| bool | CanSplitPin
(
const UEdGraphPin* Pin |
||
| FNodeHandlingFunctor * | CreateNodeHandler
(
FKismetCompilerContext& CompilerContext |
||
| void | ExpandNode
(
FKismetCompilerContext& CompilerContext, |
Expands a node while compiling, which may add additional nodes or delete this node | |
| FText | Return title if drawing this node in 'compact' mode | ||
| FName | |||
| FString | |||
| UObject * | |||
| FText | Override to provide a default category for specific node types to be listed under. | ||
| void | GetNodeAttributes
(
TArray< TKeyValuePair< FString, FString > >& OutNodeAttributes |
This function returns an arbitrary number of attributes that describe this node for analytics events | |
| FLinearColor | |||
| void | GetPinHoverText
(
const UEdGraphPin& Pin, |
||
| FString | GetPinMetaData
(
FName InPinName, |
||
| void | GetRedirectPinNames
(
const UEdGraphPin& Pin, |
Determines what the possible redirect pin names are | |
| FText | |||
| bool | IsActionFilteredOut
(
FBlueprintActionFilter const& Filter |
Determine if the node of this type should be filtered in the actions menu | |
| bool | IsConnectionDisallowed
(
const UEdGraphPin* MyPin, |
||
| bool | IsNodePure () |
Returns whether this node is considered 'pure' by the compiler | |
| void | |||
| 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 | |
| void | Called at the end of ReconstructNode, allows node specific work to be performed | ||
| void | ReallocatePinsDuringReconstruction
(
TArray< UEdGraphPin* >& OldPins |
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) | |
| void | Serialize
(
FArchive& Ar |
||
| bool | |||
| bool | Should draw compact | ||
| bool | Return whether the node's properties display in the blueprint details panel | ||
| void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |