SettingType
- class omni.kit.widget.settings.SettingType(value)
Bases:
Enum
Supported setting types for create_setting_widget.
Attributes
Setting is a floating-point number.
Setting is a integer number.
Setting is a three color floating-point numbers (0.0-1.0).
Setting is a boolean.
Setting is a string.
Setting is a three double-precision floating-point numbers.
Setting is a two integer numbers.
Setting is a two double-precision floating-point numbers.
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.