Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/IOptimusDataInterfaceProvider
Description
Returns the index on the data interface that this pin on the node represents. E.g. for input pins, this would represent a write function on the data interface (and not the proposed pin definitions). NOTE: Only valid for top-level pins.
| Name | GetDataFunctionIndexFromPin |
| Type | function |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/IOptimusDataInterfaceProvider.h |
| Include Path | #include "IOptimusDataInterfaceProvider.h" |
int32 GetDataFunctionIndexFromPin
(
const UOptimusNodePin * InPin
) const
The index of the function on the data interface that this top-level pin represents, or INDEX_NONE if it doesn't represent a function (or if the pin isn't top-level).
Parameters
| Name | Remarks |
|---|---|
| InPin | * The pin to get the data interface function index for. |