Navigation
API > API/Plugins > API/Plugins/InterchangeNodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeBaseNode
- UInterchangeShaderNode
- UInterchangeShaderGraphNode
References
| Module | InterchangeNodes |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeShaderGraphNode.h |
| Include | #include "InterchangeShaderGraphNode.h" |
Syntax
UCLASS (BlueprintType)
class UInterchangeShaderGraphNode : public UInterchangeShaderNode
Remarks
A shader graph has its own set of inputs on which shader nodes can be connected to.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UInterchangeShaderGraphNode * | Create
(
UInterchangeBaseNodeContainer* NodeContainer, |
Create a new UInterchangeShaderGraphNode and add it to NodeContainer as a translated node. | |
| bool | GetCustomBlendMode
(
int& AttributeValue |
Set the Blend Mode using EBlendMode to avoid a dependency on the Engine. | |
| bool | GetCustomIsAShaderFunction
(
bool& AttributeValue |
||
| bool | GetCustomOpacityMaskClipValue
(
float& AttributeValue |
||
| bool | GetCustomScreenSpaceReflections
(
bool& AttributeValue |
||
| bool | GetCustomTwoSided
(
bool& AttributeValue |
||
| bool | GetCustomTwoSidedTransmission
(
bool& AttributeValue |
Forces two-sided even for Transmission materials. | |
| FString | MakeNodeUid
(
const FStringView NodeName |
Build and return a UID name for a shader graph node. | |
| bool | SetCustomBlendMode
(
int AttributeValue |
||
| bool | SetCustomIsAShaderFunction
(
const bool& AttributeValue |
Set whether this shader graph should be considered as a material (false), or a material function (true). | |
| bool | SetCustomOpacityMaskClipValue
(
const float& AttributeValue, |
The shader is transparent if its alpha value is lower than the clip value, or opaque if it is higher. | |
| bool | SetCustomScreenSpaceReflections
(
const bool& AttributeValue |
||
| bool | SetCustomTwoSided
(
const bool& AttributeValue |
Set if this shader graph should be rendered two-sided or not. Defaults to off. | |
| bool | SetCustomTwoSidedTransmission
(
const bool& AttributeValue |
Overridden from UInterchangeBaseNode
| Type | Name | Description | |
|---|---|---|---|
| FString | GetTypeName () |
Return the node type name of the class. This is used when reporting errors. |