UAssetDefinition

Unreal Engine C++ API Reference > Editor > AssetDefinition

Inheritance Hierarchy

References

   
Module AssetDefinition
Header /Engine/Source/Editor/AssetDefinition/Public/AssetDefinition.h
Include #include "AssetDefinition.h"

Syntax

class UAssetDefinition : public [UObject](API\Runtime\CoreUObject\UObject\UObject)  

Variables

Type Name Description
EIncludeClassIn... IncludeClassInFilter  

Constructors

Type Name Description
  UAssetDefinition ()  

Functions

Type Name Description
EAssetComman... ActivateAssets ( const FAssetActivateArgs& Activate... )  
void BuildFilters ( TArray< FAssetFilterData >& OutFil... )  
FAssetSuppor... CanDuplicate ( const FAssetData& InAsset )  
bool CanImport () Importing.
FAssetSuppor... CanLocalize ( const FAssetData& InAsset )  
bool CanMerge () Merging.
bool CanRegisterStatically () DEVELOPER NOTE: Originally this class was based on the IAssetTypeActions implementation.
FAssetSuppor... CanRename ( const FAssetData& InAsset ) Common Queries.
TConstArrayV... GetAssetCategories () Gets a list of categories this asset is in, these categories are used to help organize
FText GetAssetDescription ( const FAssetData& AssetData ) Returns additional tooltip information for the specified asset, if it has any.
FText GetAssetDisplayName ( const FAssetData& AssetData ) Returns the name of this type, but allows overriding the default on a specific instance of the asset.
FAssetOpenSu... GetAssetOpenSupport ( const FAssetOpenSupportArgs& OpenS... ) Get open support for the method. Includes required information before we call OpenAsset.
TSharedRef< ... GetFilters () Filtering.
const FSlate... GetIconBrush ( const FAssetData& InAssetData, const FName InClassName ) Returns icon brush unique for the given asset data. Returning null falls back to class icon brush.
FText GetObjectDisplayNameText ( UObject* Object ) Extras.
EAssetComman... GetSourceFiles ( const FAssetSourceFilesArgs& InArg..., TFunctionRef< bool(const FAssetSour... ) Return the source files that was used to generate/import the asset
const FSlate... GetThumbnailBrush ( const FAssetData& InAssetData, const FName InClassName ) Returns thumbnail brush unique for the given asset data.
TSharedPtr< ... GetThumbnailOverlay ( const FAssetData& InAssetData ) Optionally returns a custom widget to overlay on top of this assets' thumbnail
UThumbnailIn... LoadThumbnailInfo ( const FAssetData& InAssetData ) Returns the thumbnail info for the specified asset, if it has one.
EAssetComman... Merge ( const FAssetAutomaticMergeArgs& Me... )  
EAssetComman... Merge ( const FAssetManualMergeArgs& Merge... )  
EAssetComman... PerformAssetDiff ( const FAssetDiffArgs& DiffArgs ) Diffing Assets.
TArray< FAss... PrepareToActivateAssets ( const FAssetActivateArgs& Activate... ) Common Operations.

Overridden from UObject

Type Name Description
void PostCDOContruct () Begin UObject.

Deprecated Functions

Type Name Description
EAssetComman... GetSourceFiles ( const FAssetData& InAsset, TFunctionRef< void(const FAssetImpo... ) This override will be removed because it doesn't account that the resolution of a relative path to its absolute path may varies based on the asset implementation.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library