An instance of this class contains information on the asset filename, its type, and the 3ds Max scene file that depends on it (this is used for resolving external references). Access to, and life time management of assets is handled by the Asset Manager.
In releases prior to 3ds Max 2010, a plug-in that referenced an external file (an asset) would hold the asset’s filename as a string or as a Path object, and would store the filename to the 3ds Max scene file as a string or an IParameterBlock2 TYPE_FILENAME parameter. To allow 3ds Max to identify the assets used by a plug-in, the plug-in would implement an IAssetAccessor-derived class. The information provided from this class was primarily used by the Asset Tracker.
Loading and saving the Asset to the 3ds Max scene file is now done through the AssetUser and the AssetManager.
Instances of the AssetUser class are returned by methods exposed by the AssetManager interface:
MAXScript Filename strings can be automatically coerced to AssetUser instances:
<IObject:AssetUser> Interfaces
Returns the AssetID of the Asset.
<enum><AssetUser>.GetType() GetType enums: {#Other|#Bitmap|#XRef|#Photometric|#Animation|#VideoPost|#BatchRender|#ExternalLink|#RenderOutput|#PreRenderScript|#PostRenderScript|#Sound|#Container}
Returns the Type of the Asset.
Returns the File Name of the Asset.
Returns true if the full file path can be acquired using the .GetFullFilePath() method.
Returns the full file path of the Asset.