unreal.InterchangeShaderNode

class unreal.InterchangeShaderNode(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: InterchangeBaseNode

A shader node is a named set of inputs and outputs. It can be connected to other shader nodes and finally to a shader graph input.

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeShaderGraphNode.h

get_custom_shader_type() str or None

Get Custom Shader Type

Returns:

attribute_value (str):

Return type:

str or None

set_custom_shader_type(attribute_value) bool

Sets which type of shader this nodes represents. Can be arbitrary or one of the predefined shader types. The material pipeline handling the shader node should be aware of the shader type that is being set here.

Parameters:

attribute_value (str) –

Return type:

bool