omni.kit.helper.file_utils.asset_types#

Classes Summary:

AssetTypeDef

AssetTypeDef(glyph, thumbnail, matching_exts)

Functions Summary:

asset_type_exts

Returns a list of file extensions associated with the given asset type.

clear_asset_types

clear known asset types.

get_asset_type

Returns asset type, based on extension of given filename.

get_icon

Returns icon for specified file.

get_thumbnail

Returns thumbnail for specified file.

init_asset_types

Init default asset types’s value

is_asset_type

Returns True if given filename is of specified type.

is_udim_sequence

Checks if the given filename represents a UDIM sequence image.

known_asset_types

Initializes and returns a dictionary of known asset types.

register_file_extensions

Adds an asset type to the recognized list.