UsdShadeNodeGraphWidget

class omni.kit.property.material.scripts.widgets.usdshade.nodegraph_widget.UsdShadeNodeGraphWidget(title: str = 'Node Graph')

Bases: UsdShadeBaseWidget

A widget for displaying and interacting with a USD Shade Node Graph.

This widget extends the UsdShadeBaseWidget to provide a graphical interface for managing USD Shade Node Graphs, which are used to define complex shading networks for digital assets. It offers a default title but can be customized upon initialization.

Parameters

title (str) – The title of the widget. Defaults to ‘Node Graph’.

Methods

__init__([title])

Initializes the UsdShadeNodeGraphWidget with a default or provided title.

Attributes

__init__(title: str = 'Node Graph')

Initializes the UsdShadeNodeGraphWidget with a default or provided title.