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

(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