Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UEdGraphSchema_K2
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 |
bool CanFunctionBeUsedInGraph
&40;
const UClass &42; InClass,
const UFunction &42; InFunction,
const UEdGraph &42; InDestGraph,
uint32 InFunctionTypes,
bool bInCalledForEach,
FText &42; OutReason
&41; const
Remarks
Checks to see if the passed in function is valid in the graph for the current class
Parameters
| Name | 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) |