Go to the source code of this file.
◆ AssetFilterSettings
◆ AssetHandle
Not part of the core design, we should try to get rid of it. Only needed to wrap FileDirEntry into a type with PropertyGroup as base, so we can have an RNA collection of AssetHandle's to pass to the UI.
◆ AssetLibraryReference
Information to identify a asset library. May be either one of the predefined types (current 'Main', builtin library, project library), or a custom type as defined in the Preferences.
If the type is set to ASSET_LIBRARY_CUSTOM, custom_library_index
must be set to identify the custom library. Otherwise it is not used.
◆ AssetMetaData
The meta-data of an asset. By creating and giving this for a data-block (ID.asset_data), the data-block becomes an asset.
- Note
- This struct must be readable without having to read anything but blocks from the ID it is attached to! That way, asset information of a file can be read, without reading anything more than that from the file. So pointers to other IDs or ID data are strictly forbidden.
◆ AssetTag
User defined tag. Currently only used by assets, could be used more often at some point. Maybe add a custom icon and color to these in future?
◆ eAssetLibraryType
◆ eAssetLibraryType
Enumerator |
---|
ASSET_LIBRARY_LOCAL | Display assets from the current session (current "Main").
|
ASSET_LIBRARY_CUSTOM | Display assets from custom asset libraries, as defined in the preferences (bUserAssetLibrary). The name will be taken from #FileSelectParams.asset_library_ref.idname then. In RNA, we add the index of the custom library to this to identify it by index. So keep this last!
|
Definition at line 82 of file DNA_asset_types.h.