unreal.DataprepSubstituteMaterialOperation

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

Bases: unreal.DataprepOperation

On each static mesh or actor to process, replace the material matching the criteria with the specified one

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepLibraries

  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • material_search (str): [Read-Write] Name of the material(s) to search for. Wildcard is supported

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

  • string_match (EditorScriptingStringMatchType): [Read-Write] Type of matching to perform with MaterialSearch string

[Read-Write] Name of the material(s) to search for. Wildcard is supported

Type

(str)

property material_substitute

[Read-Write] Material to use as a substitute

Type

(MaterialInterface)

property string_match

[Read-Write] Type of matching to perform with MaterialSearch string

Type

(EditorScriptingStringMatchType)