Declaring and Representing Assets
The asset related data is represented by an object of type MaxSDK::AssetManagement::AssetUser which wraps asset specific data with a reference count and can be created in one of two ways:
- As a parameter block item within a parameter block as an entry of type
TYPE_FILENAMEtagged withp_assetTypeID. In this case 3ds Max's parameter block system takes care of constructing theAssetUserobject, persisting the asset, and resolving paths to the asset file that it represents. - As a
MaxSDK::AssetManagement::AssetUserobject created usingMaxSDK::AssetManagement::IAssetManager::GetAsset().
Note: File paths representing assets should never be stored by plug-ins as strings.
