known_asset_types

omni.kit.helper.file_utils.asset_types.known_asset_types()

Initializes and returns a dictionary of known asset types.

Returns

A dictionary containing known asset types, where the keys are asset type identifiers, and the values are instances of the `AssetTypeDef` class.

Return type

dict

Example

>>> asset_types = known_asset_types()
>>> print(asset_types[ASSET_TYPE_ICON])
AssetTypeDef(None, None, ['.svg'])