unreal.NaniteAssemblyBuilder

class unreal.NaniteAssemblyBuilder(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Nanite 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:
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

get_target_mesh_object() Object

Retrieves the target object of the current assembly build

Return type:

Object

is_building_assembly() bool

Returns whether or not this object is in the middle of an assembly build

Return type:

bool