SettingWidgetType

class omni.kit.widget.settings.SettingWidgetType(value)

Bases: Enum

Supported setting UI widget types

Attributes

FLOAT

Setting is a floating-point number.

INT

Setting is a integer number.

COLOR3

Setting is a three color floating-point numbers (0.0-1.0).

BOOL

Setting is a boolean.

STRING

Setting is a string.

DOUBLE3

Setting is a three double-precision floating-point numbers.

INT2

Setting is a two integer numbers.

DOUBLE2

Setting is a two double-precision floating-point numbers.

ASSET

Setting is a asset path.

COMBOBOX

Setting is Combo box.

RADIOBUTTON

Setting is Radio buttons.

__init__()
ASSET = 8

Setting is a asset path.

BOOL = 3

Setting is a boolean.

COLOR3 = 2

Setting is a three color floating-point numbers (0.0-1.0).

COMBOBOX = 9

Setting is Combo box.

DOUBLE2 = 7

Setting is a two double-precision floating-point numbers.

DOUBLE3 = 5

Setting is a three double-precision floating-point numbers.

FLOAT = 0

Setting is a floating-point number.

INT = 1

Setting is a integer number.

INT2 = 6

Setting is a two integer numbers.

RADIOBUTTON = 10

Setting is Radio buttons.

STRING = 4

Setting is a string.