Navigation
API > API/Plugins > API/Plugins/InterchangeNodes > API/Plugins/InterchangeNodes/UInterchangeShaderNode
References
| Module | InterchangeNodes |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeShaderGraphNode.h |
| Include | #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
)
Remarks
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.