Blender
V3.3
|
#include <WM_types.h>
Public Attributes | |
struct wmDragAssetListItem * | next |
struct wmDragAssetListItem * | prev |
union { | |
struct ID * local_id | |
wmDragAsset * external_info | |
} | asset_data |
bool | is_external |
For some specific cases we support dragging multiple assets (WM_DRAG_ASSET_LIST). There is no proper support for dragging multiple items in the wmDrag
/wmDrop
API yet, so this is really just to enable specific features for assets.
This struct basically contains a tagged union to either store a local ID pointer, or information about an externally stored asset.
Definition at line 1102 of file WM_types.h.
union { ... } wmDragAssetListItem::asset_data |
Referenced by WM_drag_add_asset_list_item().
wmDragAsset* wmDragAssetListItem::external_info |
Definition at line 1107 of file WM_types.h.
Referenced by WM_drag_add_asset_list_item().
bool wmDragAssetListItem::is_external |
Definition at line 1110 of file WM_types.h.
Referenced by WM_drag_add_asset_list_item().
struct ID* wmDragAssetListItem::local_id |
Definition at line 1106 of file WM_types.h.
Referenced by WM_drag_add_asset_list_item().
struct wmDragAssetListItem* wmDragAssetListItem::next |
Definition at line 1103 of file WM_types.h.
struct wmDragAssetListItem * wmDragAssetListItem::prev |
Definition at line 1103 of file WM_types.h.