unreal.MaterialExpressionFresnel

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

Bases: unreal.MaterialExpression

Material Expression Fresnel

C++ Source:

  • Module: Engine
  • File: MaterialExpressionFresnel.h

Editor Properties: (see get_editor_property/set_editor_property)

  • base_reflect_fraction (float): [Read-Write] Specifies the fraction of specular reflection when the surfaces is viewed from straight on. A value of 1 effectively disables Fresnel.
  • desc (str): [Read-Write] A description that level designers can add (shows in the material editor UI).
  • exponent (float): [Read-Write] The exponent to pass into the pow() function