| IToolsContextAssetAPI
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
Include |
#include "ToolContextInterfaces.h" |
class IToolsContextAssetAPI
Users of the Tools Framework need to provide an IToolsContextAssetAPI implementation that allows Packages and Assets to be created/saved.
that this is not strictly necessary, for example a trivial implementation could just store things in the Transient package and not do any saving.
Name | Description | |
---|---|---|
|
~IToolsContextAssetAPI() |
Name | Description | ||
---|---|---|---|
|
AutoSaveGeneratedAsset |
Autosave asset to persistent storage |
|
|
AActor * |
GenerateStaticMeshActor ( |
Create a new UStaticMeshAsset for the provided mesh, then a new UStaticMeshComponent and AStaticMeshActor in the TargetWorld |
|
GetActiveAssetFolderPath() |
Get a "currently-visible/selected" location to save assets in. |
|
|
GetWorldRelativeAssetRootPath ( |
Get a path to save assets in that is relative to the given UWorld. |
|
|
InteractiveSaveGeneratedAsset |
Request saving of asset to persistent storage via something like an interactive popup dialog |
|
|
InteractiveSelectAssetPath |
Allow the user to select a path and filename for an asset using a modal dialog |
|
|
UPackage ... |
MakeNewAssetPackage |
Creates a new package for an asset |
|
NotifyGeneratedAssetModified |
Notify that asset has been created and is dirty |
|
|
SaveGeneratedTexture2D ( |
Save a generated UTexture2D as an Asset. |