VectorIntComponentModel
- class omni.kit.widget.settings.settings_model.VectorIntComponentModel(parent, vec_index, immediate_mode)
Bases:
SimpleIntModel
Methods
__init__
(parent, vec_index, immediate_mode)VectorIntComponentModel init function.
get_value_as_int
(self)Return the int representation of the value.
set_value
(*args, **kwargs)Overloaded function.
Attributes
- __init__(parent, vec_index, immediate_mode)
VectorIntComponentModel init function.
- get_value_as_int(self: omni.ui._ui.AbstractValueModel) int
Return the int representation of the value.
- set_value(*args, **kwargs)
Overloaded function.
set_value(self: omni.ui._ui.AbstractValueModel, value: bool) -> None
Set the value.
set_value(self: omni.ui._ui.AbstractValueModel, value: int) -> None
Set the value.
set_value(self: omni.ui._ui.AbstractValueModel, value: float) -> None
Set the value.
set_value(self: omni.ui._ui.AbstractValueModel, value: str) -> None
Set the value.