Module |
|
Header |
/Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
Include |
#include "EdGraphSchema_K2.h" |
Source |
/Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
bool FunctionHasParamOfType
(
const UFunction * InFunction,
UEdGraph const * InGraph,
const FEdGraphPinType & DesiredPinType,
bool bWantOutput
) const
Determine if a function has a parameter of a specific type.
true if at least one parameter is of the correct type and direction.
Parameter |
Description |
---|---|
InFunction |
The function to search. |
InGraph |
The graph that you're looking to call the function from (some functions hide different pins depending on the graph they're in) |
DesiredPinType |
The type that at least one function parameter needs to be. |
bWantOutput |
The direction that the parameter needs to be. |