Navigation
API > API/Plugins > API/Plugins/InterchangeNodes > API/Plugins/InterchangeNodes/UInterchangeShaderNode
Description
Set the Float Attribute on the Shader Node. If bIsAParameter is set to true, it would be treated as a ScalarParameter when the Material Pipeline creates the materials. Otherwise it would be a constant expression in the shader graph. Note: It is assumed that the input name would be the parameter name when bIsAParameter is true.
| Name | AddFloatInput |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeShaderGraphNode.h |
| Include Path | #include "InterchangeShaderGraphNode.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Private/InterchangeShaderGraphNode.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange | Node | Material")
bool AddFloatInput
(
const FString & InputName,
const float & AttributeValue,
bool bIsAParameter
)