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 FunctionHasParamOfType ( const [UFunction](API\Runtime\CoreUObject\UObject\UFunction) * InFunction, [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) const * InGraph, const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & DesiredPinType, bool bWantOutput ) const
Remarks
Determine if a function has a parameter of a specific type. true if at least one parameter is of the correct type and direction.
Parameters
Name | 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. |