custom_material_dialog

omni.kit.material.library.custom_material_dialog(mdl_path: str, on_complete_fn: Optional[callable] = None, bind_prim_paths: list = [])

Show custom material dialog.

Parameters
  • mdl_path (str) – Mdl path.

  • on_complete_fn (callable) – Function called when material dialog Cleated button is clicked.

  • bind_prim_paths (list) – List of prims path to bind material to.