unreal.InterchangeShaderGraphNode

class unreal.InterchangeShaderGraphNode(outer: Optional[Object] = None, name: Union[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_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_two_sided() bool or None

Get Custom Two Sided

Returns:

attribute_value (bool):

Return type:

bool or None

set_custom_is_a_shader_function(attribute_value) bool

Sets if 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

Shader is transparent or opaque if it’s alpha is lower or higher than the clip value.

Parameters:
  • attribute_value (float) –

  • add_apply_delegate (bool) –

Return type:

bool

set_custom_two_sided(attribute_value) bool

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

Parameters:

attribute_value (bool) –

Return type:

bool