unreal.MaterialExpressionDistanceFieldsRenderingSwitch

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

Bases: unreal.MaterialExpression

Material output expression to switch logic according to whether distance fields renderering is supported on this project and feature level.

C++ Source:

  • Module: Engine

  • File: MaterialExpressionDistanceFieldsRenderingSwitch.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).