Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FEmitter
Description
Retrieves the value from the subgraph expression's input pin at the given index, if present. A null reference otherwise. Does not report an error if the value is missing. If the expression is marked MIR_OnDemandInputRequest and the dependency hasn't been built yet, sets Pending and returns poison, use UE_MIR_CHECKPOINT to defer.
| Name | TrySubgraphInput |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialIREmitter.h |
| Include Path | #include "Materials/MaterialIREmitter.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialIREmitter.cpp |
FValueRef TrySubgraphInput
(
int32 InputIndex
)