ColorStore
- class omni.ui.ColorStore
Bases:
pybind11_object
A singleton that stores all the UI Style color properties of omni.ui.
Methods
__init__
(*args, **kwargs)find
(name)Return the index of the color with specific name.
store
(name, color)Save the color by name.
- __init__(*args, **kwargs)
- static find(name: str) int
Return the index of the color with specific name.
- static store(name: str, color: int) None
Save the color by name.