UsdShadeAttributeWidget

class omni.kit.property.material.scripts.widgets.usdshade.attribute_widget.UsdShadeAttributeWidget(title: str, collapsed: bool, multi_edit: bool = True, enable_adapter: bool = False)

Bases: RawUsdPropertiesWidget

A widget that overrides the display of UsdShade attributes in the Raw Properties widget.

This widget modifies the UsdPropertyUiEntry instances to remove the display[Name|Group] metadata, resulting in a flat list presentation of the properties without pagination.

Methods

Attributes

__init__(title: str, collapsed: bool, multi_edit: bool = True, enable_adapter: bool = False)

Constructor.

Parameters
  • title (str) – title of the widget.

  • collapsed (bool) – whether the collapsable frame should be collapsed for this widget.

  • multi_edit (bool) – whether multi-editing is supported.

  • enable_adapter (bool) – use stage_adapters

  • maintain_property_order (bool) – _customize_props_layout returns a list of properties to display on the widget.