set_viewport_window_default_style#
- omni.kit.viewport.window.set_viewport_window_default_style(
- style: dict,
- overwrite: bool = False,
- usd_context_name: str | None = '',
- apply: bool = True,
Set the default style for all ViewportWindows, optionally filtering based on the UsdContext the ViewportWindow is attached to.
- Parameters:
style (dict) – An omni.ui style dictionary
overwrite (bool) – Whether to overwrite any existing style or augment it.
usd_context_name (str, None) – An optional argument to limit application to ViewportWindows attached to a specific UsdContext.
apply (bool) – Whether to apply the style to existing ViewportWindows, or not.