unreal.MaterialExpressionDepthFade

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

Bases: MaterialExpression

Material Expression Depth Fade

C++ Source:

  • Module: Engine

  • File: MaterialExpressionDepthFade.h

Editor Properties: (see get_editor_property/set_editor_property)

  • desc (str): [Read-Write] Desc: A description that level designers can add (shows in the material editor UI).

  • fade_distance_default (float): [Read-Write] Fade Distance Default: World space distance over which the fade should take place. This is used when FadeDistance is unconnected.

  • material_expression_editor_x (int32): [Read-Write] Material Expression Editor X

  • material_expression_editor_y (int32): [Read-Write] Material Expression Editor Y

  • opacity_default (float): [Read-Write] Opacity Default: Opacity which will be scaled by the result of the fade. This is used when InOpacity is unconnected.