unreal.NaniteAssemblyMaterialMergeOptions

class unreal.NaniteAssemblyMaterialMergeOptions(material_slot_group: int = 0, merge_behavior: NaniteAssemblyPartMaterialMerge = Ellipsis, material_overrides: None = [])

Bases: StructBase

Nanite Assembly Material Merge Options

C++ Source:

  • Plugin: NaniteAssemblyEditorUtils

  • Module: NaniteAssemblyEditorUtils

  • File: NaniteAssemblyBuilder.h

Editor Properties: (see get_editor_property/set_editor_property)

  • material_overrides (Array[MaterialInterface]): [Read-Write] (Optional) An array of material overrides to use.

  • material_slot_group (int32): [Read-Write] The material slot group index. Only use 0, or values provided by AddMaterialSlotGroup on the Nanite Assembly Builder.

  • merge_behavior (NaniteAssemblyPartMaterialMerge): [Read-Write] Specifies how to merge the materials within the material slot group.

property material_overrides: None

[Read-Write] (Optional) An array of material overrides to use.

Type:

(Array[MaterialInterface])

property material_slot_group: int

[Read-Write] The material slot group index. Only use 0, or values provided by AddMaterialSlotGroup on the Nanite Assembly Builder.

Type:

(int32)

property merge_behavior: NaniteAssemblyPartMaterialMerge

[Read-Write] Specifies how to merge the materials within the material slot group.

Type:

(NaniteAssemblyPartMaterialMerge)