FileBrowserUdimItem
- class omni.kit.widget.filebrowser.FileBrowserUdimItem(path: str, fields: FileBrowserItemFields, range_start: int, range_end: int, repr_frame: Optional[int] = None)
Bases:
FileBrowserItem
A Filebrowser UDIM item class for navigating a the local filesystem in a Filebrowser view. Sub-classed from
FileBrowserItem
.- Parameters
path (str) – path of the item.
fields (
FileBrowserItemFields
) – Fields of the item.is_folder (bool) – Specify the item as a folder.
range_start (int) – Starting index of UDIM sequence.
range_end (int) – End index of UDIM sequence.
repr_frame (int) – Index in UDIM sequence.
Methods
__init__
(self)get_udim_sequence
(full_path)Get the UDIM sequence by path.
populate_udim
(parent)Generate UDIM items under the given item.
Attributes
Full thumbnail path name.
- __init__(self: omni.ui._ui.AbstractItem) None
- static get_udim_sequence(full_path: str)
Get the UDIM sequence by path.
- static populate_udim(parent: FileBrowserItem)
Generate UDIM items under the given item.
- property repr_path: str
Full thumbnail path name.
- Type
str