Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::ComponentAssetMimeDataContainer Class Reference

#include <ComponentAssetMimeDataContainer.h>

Public Member Functions

 AZ_RTTI (ComponentAssetMimeDataContainer, "{7744B99F-2FE9-49AF-DEB2-1562BDA04238}")
 
 AZ_CLASS_ALLOCATOR (ComponentAssetMimeDataContainer, AZ::SystemAllocator)
 
void AddComponentAsset (const AZ::Uuid &classId, const AZ::Data::AssetId &assetId)
 Create a new ComponentAssetMimeData and add it to the internal vector.
 
void AddToMimeData (QMimeData *mimeData) const
 Add mime data of this type to the specified QMimeData.
 
bool FromMimeData (const QMimeData *mimeData)
 Retrieve mime data of this type from the specified QMimeData. Return true if successful.
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static QString GetMimeType ()
 

Public Attributes

AZStd::vector< ComponentAssetMimeDatam_assets
 

Detailed Description

A mime container used for an asset and a component type to assign that asset into. Used for creating new components directly from assets.


The documentation for this class was generated from the following file: