unreal.MaterialExpressionDepthFade

class unreal.MaterialExpressionDepthFade(outer=None, name='None')

Bases: unreal.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.
  • opacity_default (float): [Read-Write] Opacity which will be scaled by the result of the fade. This is used when InOpacity is unconnected.