unreal.MaterialExpressionFresnel

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

Bases: 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] Base Reflect Fraction: 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] Desc: A description that level designers can add (shows in the material editor UI).

  • exponent (float): [Read-Write] Exponent: The exponent to pass into the pow() function

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

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