omni.kit.property.material.scripts.widgets.usdshade

Submodules Summary:

omni.kit.property.material.scripts.widgets.usdshade.attribute_widget

This module provides a custom widget for displaying UsdShade attributes in the Raw Properties widget, specifically modifying the display metadata to present a flat list of properties.

omni.kit.property.material.scripts.widgets.usdshade.base_widget

This module defines a base widget for interacting with USD Shade elements within the omni.kit.property.material extension.

omni.kit.property.material.scripts.widgets.usdshade.material_widget

This module provides a widget for displaying and editing USD Shade materials within the NVIDIA Omniverse Kit framework.

omni.kit.property.material.scripts.widgets.usdshade.models

This module provides functions to build custom UI properties for USD Shade materials.

omni.kit.property.material.scripts.widgets.usdshade.nodegraph_widget

Provides a widget for displaying and interacting with USD Shade Node Graphs within the USD material property extension.

omni.kit.property.material.scripts.widgets.usdshade.placeholder

This module provides functionality to retrieve UsdShadePropertyPlaceholder objects for USD prims to drive UI components.

omni.kit.property.material.scripts.widgets.usdshade.shader_widget

This module provides a UsdShadeShaderWidget class for representing and interacting with USD Shade shaders in a user interface.

omni.kit.property.material.scripts.widgets.usdshade.usdshade_property_ui_entry

This module defines UsdShadePropertyUiEntry, a subclass of UsdPropertyUiEntry, which overrides the metadata comparison function.

omni.kit.property.material.scripts.widgets.usdshade.utils

This module provides utilities for manipulating USDShade and SDR shader properties, including finding shader nodes, getting shader information, updating dictionary values, and handling shader properties and connections in USD.

Classes Summary:

UsdShadeAttributeWidget

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

UsdShadeMaterialWidget

A widget for displaying and editing USD Shade materials.

UsdShadeNodeGraphWidget

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

UsdShadeShaderWidget

A widget class for representing and interacting with USD Shade shaders.

Functions Summary:

get_sdr_shader_node_for_prim

Finds and returns the Sdr.ShaderNode used to define the corresponding UsdShade.Shader prim.

property_name_to_display_name

Converts a property name to a display name by splitting camel casing.

remove_properties_and_connections

Remove properties and connections from a given USD Prim that are no longer valid.