SdfTimeCodeModel#
- class omni.kit.property.usd.SdfTimeCodeModel(
- stage: Stage,
- attribute_paths: List[Path],
- self_refresh: bool,
- metadata: dict,
- change_on_edit_end=True,
- **kwargs,
Bases:
UsdAttributeModel
A specialized model for handling SDF timecodes in USD attributes.
This model extends the capabilities of the UsdAttributeModel by providing additional functionality to manage SDF timecode values. It is particularly useful for working with attributes that represent time-based data in USD.
While similar in structure to UsdAttributeModel, this model overrides the method to save the previous real values as SDF TimeCodes, ensuring proper initialization and handling of timecode data types.
Methods
Attributes
- __init__(
- stage: Stage,
- attribute_paths: List[Path],
- self_refresh: bool,
- metadata: dict,
- change_on_edit_end=True,
- **kwargs,
Initializes the value model that is reimplemented in Python to watch a USD attribute path.