UsdShadeOutputModel
- class omni.kit.property.material.scripts.widgets.usdshade.models.output.UsdShadeOutputModel(stage: Stage, attribute_paths: List[Path], self_refresh: bool, metadata: dict, change_on_edit_end=True, **kwargs)
Bases:
UsdAttributeModel
A class to represent a USD Shade Output in a property view.
This class overrides the widget representation for a UsdShade.Output to display a simple string that indicates the output type.
Methods
get_value_as_string
([elide_big_array])Returns a string representation of the UsdShade.Output's value.
Attributes
- __init__(stage: Stage, attribute_paths: List[Path], self_refresh: bool, metadata: dict, change_on_edit_end=True, **kwargs)
Initializes the value model that is reimplemented in Python to watch a USD attribute path.
- get_value_as_string(elide_big_array=True) str
Returns a string representation of the UsdShade.Output’s value.
- Parameters
elide_big_array (bool) – If True, elide arrays larger than a threshold.
- Returns
Render type as a string.
- Return type
str