Module |
|
Header |
/Engine/Source/Developer/AssetTools/Public/AssetTypeActions_Base.h |
Include |
#include "AssetTypeActions_Base.h" |
class FAssetTypeActions_Base : public IAssetTypeActions
A base class for all AssetTypeActions. Provides helper functions useful for many types. Deriving from this class is optional.
Name | Description | ||
---|---|---|---|
|
CreateUniqueAssetName |
Creates a unique package and asset name taking the form InBasePackageName+InSuffix |
|
|
DumpAssetToTempFile ( |
Util for dumping an asset to a temporary text file. Returns absolute filename to temp file |
|
|
TArray< T &#... |
GetTypedObjectPtrs |
|
|
GetTypedWeakObjectPtrs |
Helper function to convert the input for GetActions to a list that can be used for delegates |
Name | Description | ||
---|---|---|---|
|
AssetsActivatedOverride ( |
Allows overriding asset activation to perform asset type specific activation for the supplied assets. |
|
|
BuildBackendFilter ( |
Builds the filter for this class |
|
|
CanFilter() |
Returns true if this class can be used as a filter in the content browser |
|
|
CanLocalize() |
Returns true if this class can be localized |
|
|
CanMerge() |
Returns true if this class can be merged (either manually or automatically) |
|
|
GetActions ( |
Generates a menu section for the specified objects. |
|
|
GetActions ( |
Generates a menubuilder for the specified objects. |
|
|
GetAssetDescription ( |
Returns additional tooltip information for the specified asset, if it has any (otherwise return the null widget) |
|
|
EThumbnailPr... |
GetDefaultThumbnailPrimitiveType ( |
Returns the default thumbnail type that should be rendered when rendering primitive shapes. |
|
GetDisplayNameFromAssetData ( |
Optionally gets a class display name for this asset (otherwise, returns empty text (e.g. `FText::GetEmpty()_) |
|
|
GetFilterName() |
Returns name to use for filter in the content browser |
|
|
GetObjectDisplayName ( |
Returns the display name for that object. |
|
|
GetResolvedSourceFilePaths |
Collects the resolved source paths for the imported assets |
|
|
GetSourceFileLabels |
Collects the source file labels for the imported assets |
|
|
const TArray... |
GetSubMenus() |
Returns array of sub-menu names that this asset type is parented under in the Asset Creation Context Menu. |
|
UThumbnailIn... |
GetThumbnailInfo ( |
Returns the thumbnail info for the specified asset, if it has one. |
|
TSharedPtr< ... |
GetThumbnailOverlay ( |
Optionally returns a custom widget to overlay on top of this assets' thumbnail |
|
GetValidAssetsForPreviewOrEdit ( |
Returns the set of asset data that is valid to load. |
|
|
HasActions |
Returns true if this class can supply actions for InObjects. |
|
|
IsImportedAsset() |
Returns whether the asset was imported from an external source |
|
|
IsSupported() |
Is this asset type supported in the current session? |
|
|
Merge ( |
Begins a merge operation for InObject (automatically determines remote/base versions needed to resolve) |
|
|
Merge ( |
Begins a merge between the specified assets |
|
|
OpenAssetEditor ( |
Opens the asset editor for the specified objects. |
|
|
PerformAssetDiff ( |
Performs asset-specific diff on the supplied asset |
|
|
SetSupported ( |
Sets whether or not this asset type is a supported type for this editor session. |
|
|
ShouldForceWorldCentric() |