Open 3D Engine AzFramework 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.
AzFramework::AssetSystem::SourceAssetInfoRequest Class Reference

Inherits AzFramework::AssetSystem::BaseAssetProcessorMessage.

Public Member Functions

 AZ_CLASS_ALLOCATOR (SourceAssetInfoRequest, AZ::OSAllocator)
 
 AZ_RTTI (SourceAssetInfoRequest, "{e92cd74f-11e0-4ad8-a786-61d3b9715e35}", AzFramework::AssetSystem::BaseAssetProcessorMessage)
 
 SourceAssetInfoRequest (const AZ::Data::AssetId &assetId, const AZ::Data::AssetType &assetType=AZ::Data::s_invalidAssetType)
 
 SourceAssetInfoRequest (const char *assetPath)
 You can also make a request with the relative or absolute path to the asset instead. This always returns the source path.
 
unsigned int GetMessageType () const override
 The id of the message type, an unsigned int which can be used to identify which message it is.
 
- Public Member Functions inherited from AzFramework::AssetSystem::BaseAssetProcessorMessage
 AZ_RTTI (BaseAssetProcessorMessage, "{366A7093-C57B-4514-A1BD-A6437AEF2098}")
 
 BaseAssetProcessorMessage (bool requireFencing=false)
 
virtual unsigned int GetMessageType () const =0
 The id of the message type, an unsigned int which can be used to identify which message it is.
 
bool RequireFencing () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from AzFramework::AssetSystem::BaseAssetProcessorMessage
static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::OSString m_assetPath
 At least one of AssetPath or AssetId must be non-empty.
 
AZ::Data::AssetId m_assetId
 
AZ::Data::AssetType m_assetType = AZ::Data::s_invalidAssetType
 

Static Public Attributes

static constexpr unsigned int MessageType = AZ_CRC("AssetProcessor::SourceAssetInfoRequest", 0x350a86f3)
 

Constructor & Destructor Documentation

◆ SourceAssetInfoRequest()

AzFramework::AssetSystem::SourceAssetInfoRequest::SourceAssetInfoRequest ( const AZ::Data::AssetId &  assetId,
const AZ::Data::AssetType &  assetType = AZ::Data::s_invalidAssetType 
)
explicit

Gets information about an asset, given the assetId.

Parameters
assetTypeThis parameter is optional but could help detect problems with incorrect asset types being assigned to products.

Member Function Documentation

◆ GetMessageType()

unsigned int AzFramework::AssetSystem::SourceAssetInfoRequest::GetMessageType ( ) const
overridevirtual

The id of the message type, an unsigned int which can be used to identify which message it is.

Implements AzFramework::AssetSystem::BaseAssetProcessorMessage.


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