AssetRef

A reference to an asset.

abstract
class AssetRef : Component(
AssetType
) if (
is(AssetType : Asset)
) {
AssetType asset;
string assetName;
}

Members

Functions

initialize
void initialize()

Gets a reference to it's asset.

isNull
bool isNull()

Is the asset null?

Meta