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::SimpleAssetReferenceBase Class Referenceabstract

#include <SimpleAsset.h>

Inherited by AzFramework::SimpleAssetReference< AssetType >.

Public Member Functions

 AZ_CLASS_ALLOCATOR (SimpleAssetReferenceBase, AZ::SystemAllocator)
 
 AZ_RTTI (SimpleAssetReferenceBase, "{E16CA6C5-5C78-4AD9-8E9B-F8C1FB4D1DB8}")
 
const AZStd::string & GetAssetPath () const
 
void SetAssetPath (const char *path)
 
virtual AZ::Data::AssetType GetAssetType () const =0
 
virtual const char * GetFileFilter () const =0
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Static Public Attributes

static const int kMaxVariableNameLength = 128
 

Protected Attributes

AZStd::string m_assetPath
 

Detailed Description

Base class for templated asset reference types.

  • Handles storage of the game-relative asset path.
  • Handles reflection of reference type for use in serialization/editing.

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