add_to_mtl_lib

omni.kit.material.library.add_to_mtl_lib(folder_paths: list[str]) list[str]

Add custom folder to list of folders to generate context menu “Create/Materials” from.

Parameters

folder_paths (list) – List of folder paths to add.

Returns

Updated list of folders to generate context menu “Create/Materials” from.

Return type

(list)