AbstractShade#
- class omni.ui.abstract_shade.AbstractShade#
Bases:
objectThe 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.