unreal.MaterialExpressionDistanceFieldApproxAO

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

Bases: MaterialExpression

Material Expression Distance Field Approx AO

C++ Source:

  • Module: Engine

  • File: MaterialExpressionDistanceFieldApproxAO.h

Editor Properties: (see get_editor_property/set_editor_property)

  • base_distance_default (float): [Read-Write] Base Distance Default: only used if BaseDistance is not hooked up

  • desc (str): [Read-Write] Desc: A description that level designers can add (shows in the material editor UI).

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

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

  • num_steps (uint32): [Read-Write] Num Steps: Number of samples used to calculate occlusion

  • radius_default (float): [Read-Write] Radius Default: only used if Radius is not hooked up

  • step_scale_default (float): [Read-Write] Step Scale Default: Used to control step distance distribution