unreal.DataprepSetMaterialOperation

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

Bases: unreal.DataprepOperation

On each static mesh or actor to process, replace any materials used with the specified one

C++ Source:

  • Plugin: DataPrepEditor
  • Module: DataprepLibraries
  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • material (MaterialInterface): [Read-Write] Material to use as a substitute
material

(MaterialInterface) – [Read-Write] Material to use as a substitute

material_substitute

deprecated – ‘material_substitute’ was renamed to ‘material’.