UnitType

class omni.ui.UnitType

Bases: pybind11_object

Unit types.

Widths, heights or other UI length can be specified in pixels or relative to window (or child window) size.

Members:

PIXEL

PERCENT

FRACTION

Methods

__init__(self, value)

Attributes

FRACTION

PERCENT

PIXEL

name

value

__init__(self: omni.ui._ui.UnitType, value: int) None
property name