UEdGraphSchema_K2::FunctionHasParamOfType

Determine if a function has a parameter of a specific type.

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 FunctionHasParamOfType
(
    const UFunction * InFunction,
    UEdGraph const * InGraph,
    const FEdGraphPinType & DesiredPinType,
    bool bWantOutput
) const

Remarks

Determine if a function has a parameter of a specific type.

Returns

true if at least one parameter is of the correct type and direction.

Parameters

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.

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