unreal.NaniteAssemblyBuilder¶
- class unreal.NaniteAssemblyBuilder(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectNanite Assembly Builder
C++ Source:
Plugin: NaniteAssemblyEditorUtils
Module: NaniteAssemblyEditorUtils
File: NaniteAssemblyBuilder.h
- add_material_slot(material, material_slot_group=0, slot_name='None') int32¶
Creates a material slot in the specified material slot group with a given material. If the slot name provided is “None”, the resulting material slot will take the name of the material.
- Parameters:
material (MaterialInterface)
material_slot_group (int32)
slot_name (Name)
- Return type:
int32
- add_material_slot_group() int32¶
Creates a new material slot group on the builder, which allows you to be selective about which assembly parts’ materials can be merged together. Use the return value when adding a part to the assembly.
- Return type:
int32