unreal.InterchangeShaderGraphNode

class unreal.InterchangeShaderGraphNode(outer: Object | None = None, name: Name | str = 'None')

Bases: InterchangeShaderNode

A shader graph has its own set of inputs on which shader nodes can be connected to.

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeShaderGraphNode.h

get_custom_blend_mode() int32 or None

Set the Blend Mode using EBlendMode to avoid a dependency on the Engine.

Returns:

attribute_value (int32):

Return type:

int32 or None

get_custom_is_a_shader_function() bool or None

Get Custom Is AShader Function

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_opacity_mask_clip_value() float or None

Get Custom Opacity Mask Clip Value

Returns:

attribute_value (float):

Return type:

float or None

get_custom_screen_space_reflections() bool or None

Get Custom Screen Space Reflections

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_two_sided() bool or None

Get Custom Two Sided

Returns:

attribute_value (bool):

Return type:

bool or None

get_custom_two_sided_transmission() bool or None

Forces two-sided even for Transmission materials.

Returns:

attribute_value (bool):

Return type:

bool or None

set_custom_blend_mode(attribute_value) bool

Set Custom Blend Mode

Parameters:

attribute_value (int32) –

Return type:

bool

set_custom_is_a_shader_function(attribute_value) bool

Set whether this shader graph should be considered as a material (false), or a material function (true).

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_opacity_mask_clip_value(attribute_value, add_apply_delegate=True) bool

The shader is transparent if its alpha value is lower than the clip value, or opaque if it is higher.

Parameters:
  • attribute_value (float) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_screen_space_reflections(attribute_value) bool

Set Custom Screen Space Reflections

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_two_sided(attribute_value) bool

Set if this shader graph should be rendered two-sided or not. Defaults to off.

Parameters:

attribute_value (bool) –

Return type:

bool

set_custom_two_sided_transmission(attribute_value) bool

Set Custom Two Sided Transmission

Parameters:

attribute_value (bool) –

Return type:

bool