unreal.MaterialExpressionDepthFade

class unreal.MaterialExpressionDepthFade(outer: Object | None = None, name: 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] A description that level designers can add (shows in the material editor UI).

  • fade_distance_default (float): [Read-Write] 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_y (int32): [Read-Write]

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