UsdFloatItem#

class omni.kit.property.usd.UsdFloatItem(model)#

Bases: AbstractItem

A class representing a USD float item for UI elements.

This class encapsulates a single floating-point value for use in user interface constructs. It inherits from omni.ui.AbstractItem and holds a model that reflects the float value.

Parameters:

model (ui.SimpleFloatModel) – The model storing the floating-point value.

Methods

__init__(model)

Initializes a new instance of the UsdFloatItem.

__init__(model)#

Initializes a new instance of the UsdFloatItem.