SettingType

class omni.kit.widget.settings.settings_widget.SettingType(value)

Bases: Enum

Supported setting types for create_setting_widget.

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.

__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).

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.

STRING = 4

Setting is a string.