Navigation
API > API/Plugins > API/Plugins/ToolPresetAsset
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UDynamicSubsystem
- UEditorSubsystem
- UToolPresetAssetSubsystem
References
| Module | ToolPresetAsset |
| Header | /Engine/Plugins/Experimental/ToolPresets/Source/ToolPresetAsset/Public/ToolPresetAssetSubsystem.h |
| Include | #include "ToolPresetAssetSubsystem.h" |
Syntax
UCLASS&40;&41;
class UToolPresetAssetSubsystem : public UEditorSubsystem
Remarks
Using an editor subsystem allows us to make sure that we have a default preset asset whenever the editor exists (and to avoid accidentally trying to make one when it doesn't, such as when running cooking scripts).
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UInteractiveToolsPresetCollectionAsset > | DefaultCollection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UInteractiveToolsPresetCollectionAsset * | |||
| void | |||
| bool |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |