Navigation
Unreal Engine C++ API Reference > 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 ( const [UClass](API\Runtime\CoreUObject\UObject\UClass) * InClass, const [UFunction](API\Runtime\CoreUObject\UObject\UFunction) * InFunction, const [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * InDestGraph, uint32 InFunctionTypes, bool bInCalledForEach, [FText](API\Runtime\Core\Internationalization\FText) * OutReason ) 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) |