Navigation
API > API/Plugins > API/Plugins/InterchangeNodes > API/Plugins/InterchangeNodes/UInterchangeShaderNode
Description
Set the Linear Color Attribute on the Shader Node. If bIsAParameter is set to true, it would be treated as a VectorParameter when the Material Pipeline creates the materials. Otherwise it would be a constant 3 vector expression in the shader graph. Note: It is assumed that the input name would be the parameter name when bIsAParameter is true.
| Name | AddLinearColorInput |
| 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 AddLinearColorInput
(
const FString & InputName,
const FLinearColor & AttributeValue,
bool bIsAParameter
)