unreal.MaterialExpressionFresnel

class unreal.MaterialExpressionFresnel(outer: Object | None = None, name: 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] 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

  • material_expression_editor_x (int32): [Read-Write]

  • material_expression_editor_y (int32): [Read-Write]