AbstractShade#
- class omni.ui.color_utils.AbstractShade#
Bases:
object
The implementation of shades for custom style parameter type.
The user has to reimplement methods _store and _find to set/get the value in the specific store.
Methods
__init__
()set_shade
([name])Set the default shade.
shade
([default])Save the given shade, pick the color and apply it to ui.ColorStore.
- __init__()#
- set_shade(name: str | None = None)#
Set the default shade.
- shade(
- default: Any | None = None,
- **kwargs,
Save the given shade, pick the color and apply it to ui.ColorStore.