Usage Examples#
Integrate Material Browser Widget into a Custom Window#
import omni.ui as ui
from omni.kit.window.material import MaterialBrowserWidget
# Create a window for the Material Browser
window = ui.Window("Material Browser", width=800, height=600)
# Create the Material Browser Widget inside the window
with window.frame:
material_browser = MaterialBrowserWidget()
Screenshot:#