AssetReferenceInterface Class Reference

#include <assets.h>

Inheritance diagram for AssetReferenceInterface:

Detailed Description

AssetReference is needed for the asset update mechanism and represents a specific updatable AssetLink within an asset, see AssetInterface::GetReferencedAssets.

Public Member Functions

MAXON_METHOD const AssetLink & GetLink () const
 
MAXON_METHOD ConstDataPtr GetPath () const
 

Private Member Functions

 MAXON_INTERFACE (AssetReferenceInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.assetreference", MAXON_IMPLEMENTATION_MODULE("net.maxon.asset"))
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( AssetReferenceInterface  ,
MAXON_REFERENCE_COPY_ON_WRITE  ,
"net.maxon.interface.assetreference"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.asset")   
)
private

◆ GetLink()

MAXON_METHOD const AssetLink& GetLink ( ) const

Returns the link which this AssetReference uses.

Returns
The AssetLink of this reference.

◆ GetPath()

MAXON_METHOD ConstDataPtr GetPath ( ) const

Returns the absolute path to the asset instance.

Returns
The instance's path. Implementation specific.