#include <base_preset_asset.h>
BasePresetAssetTypeInterface defines a new preset type and is the connector to BasePresetAssetInterface.
◆ MAXON_INTERFACE()
◆ GetName()
GetName returns the preset type name.
- Returns
- Name of the preset type.
◆ LoadPreset()
LoadPreset loads the preset into memory.
- Parameters
-
[in] | preset | Preset to load |
[in] | target | Arguments to use when loading the preset. |
- Returns
- True on success.
◆ CreateNewPresetSettings()
CreateNewPresetSettings creates the new preset of this type.
- Parameters
-
- Returns
- OK on success.
◆ GetFilterString()
GetFilterString returns the default filter string to search for this asset type in the asset browser.
◆ DoesSupportSetAsDefault()
◆ GetSuggestedCategory()
Reads the default category identifier as suggested by the asset type.
- Returns
- The category identifier. Empty if no default suggestion.