Navigation
API > API/Plugins > API/Plugins/InterchangeNodes
A shader graph has its own set of inputs on which shader nodes can be connected to.
| Name | UInterchangeShaderGraphNode |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeShaderGraphNode.h |
| Include Path | #include "InterchangeShaderGraphNode.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UInterchangeShaderGraphNode : public UInterchangeShaderNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInterchangeBaseNode → UInterchangeShaderNode → UInterchangeShaderGraphNode
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Macro_CustomBlendModeKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h | ||
| Macro_CustomDisplacementCenterKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h | ||
| Macro_CustomIsAShaderFunctionKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h | ||
| Macro_CustomOpacityMaskClipValueKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h | ||
| Macro_CustomScreenSpaceReflectionsKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h | ||
| Macro_CustomTwoSidedKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h | ||
| Macro_CustomTwoSidedTransmissionKey | const UE::Interchange::FAttributeKey | InterchangeShaderGraphNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetCustomBlendMode
(
int& AttributeValue |
Set the Blend Mode using EBlendMode to avoid a dependency on the Engine. | InterchangeShaderGraphNode.h |
|
bool GetCustomDisplacementCenterMode
(
float& AttributeValue |
Set the center of the displacement | InterchangeShaderGraphNode.h |
|
bool GetCustomIsAShaderFunction
(
bool& AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool GetCustomOpacityMaskClipValue
(
float& AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool GetCustomScreenSpaceReflections
(
bool& AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool GetCustomTwoSided
(
bool& AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool GetCustomTwoSidedTransmission
(
bool& AttributeValue |
Forces two-sided even for Transmission materials. | InterchangeShaderGraphNode.h |
|
bool SetCustomBlendMode
(
int AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool SetCustomDisplacementCenterMode
(
float AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool SetCustomIsAShaderFunction
(
const bool& AttributeValue |
Set whether this shader graph should be considered as a material (false), or a material function (true). | InterchangeShaderGraphNode.h |
|
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. | InterchangeShaderGraphNode.h |
|
bool SetCustomScreenSpaceReflections
(
const bool& AttributeValue |
InterchangeShaderGraphNode.h |
|
|
bool SetCustomTwoSided
(
const bool& AttributeValue |
Set if this shader graph should be rendered two-sided or not. Defaults to off. | InterchangeShaderGraphNode.h |
|
bool SetCustomTwoSidedTransmission
(
const bool& AttributeValue |
InterchangeShaderGraphNode.h |
|
Overridden from UInterchangeBaseNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetTypeName() |
Return the node type name of the class. This is used when reporting errors. | InterchangeShaderGraphNode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UInterchangeShaderGraphNode * Create
(
UInterchangeBaseNodeContainer* NodeContainer, |
Create a new UInterchangeShaderGraphNode and add it to NodeContainer as a translated node. | InterchangeShaderGraphNode.h | |
static FString MakeNodeUid
(
const FStringView NodeName |
Build and return a UID name for a shader graph node. | InterchangeShaderGraphNode.h |