unreal.MaterialExpressionLandscapePhysicalMaterialOutput

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

Bases: unreal.MaterialExpressionCustomOutput

Custom output node to write out physical material weights. This can be used to generate the dominant physical material for each point on a landscape. Note that the use of a material output node to generate this information is optional and when a node of this type is not present we fall back on a CPU path which analyzes landscape layer data.

C++ Source:

  • Module: Landscape

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

  • inputs (Array(PhysicalMaterialInput)): [Read-Write] Inputs: Array of physical material inputs.