UEdGraphSchema_K2::CanFunctionBeUsedInGraph

Checks to see if the passed in function is valid in the graph for the current class

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

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

Include

#include "EdGraphSchema_K2.h"

Source

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

Syntax

bool CanFunctionBeUsedInGraph
(
    const UClass * InClass,
    const UFunction * InFunction,
    const UEdGraph * InDestGraph,
    uint32 InFunctionTypes,
    bool bInCalledForEach,
    FText * OutReason
) const

Remarks

Checks to see if the passed in function is valid in the graph for the current class

Parameters

Parameter

Description

InClass

Class being checked to see if the function is valid for

InFunction

Function being checked

InDestGraph

Graph we will be using action for (may be NULL)

InFunctionTypes

Combination of EFunctionType to indicate types of functions accepted

bInCalledForEach

Call for each element in an array (a node accepts array)

OutReason

Allows callers to receive a localized string containing more detail when the function is determined to be invalid (optional)

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