unreal.DataprepSetMaterialOperation

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

Bases: 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: Material to use as a substitute

property material: MaterialInterface

[Read-Write] Material: Material to use as a substitute

Type:

(MaterialInterface)

property material_substitute: MaterialInterface

‘material_substitute’ was renamed to ‘material’.

Type:

deprecated