unreal.MaterialOverrideNanite

class unreal.MaterialOverrideNanite(override_material_ref: MaterialInterface = Ellipsis)

Bases: StructBase

Storage for nanite material override. An override material can be selected, and the override material can be used according to the current settings. We handle removing the override material and its dependencies from the cook on platforms where we can determine that the override material can never be used.

C++ Source:

  • Module: Engine

  • File: MaterialOverrideNanite.h

Editor Properties: (see get_editor_property/set_editor_property)

  • override_material_ref (MaterialInterface): [Read-Write] Override Material Ref: An override material which will be used when rendering with nanite.

property override_material_ref: MaterialInterface

[Read-Only] Override Material Ref: An override material which will be used when rendering with nanite.

Type:

(MaterialInterface)