Navigation
API > API/Plugins > API/Plugins/DatasmithContent
Base class for actions available to the end-user through the Content browser contextual menu. By extending this class, the custom action is automatically registered to be available for the end user
| Name | UDatasmithCustomActionBase |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/DatasmithCustomAction.h |
| Include Path | #include "DatasmithCustomAction.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UDatasmithCustomActionBase :
public UObject ,
public IDatasmithCustomAction
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDatasmithCustomActionBase
Implements Interfaces
Derived Classes
Functions
Public
Overridden from IDatasmithCustomAction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| The actual processing, called by Datasmith when the user trigger an action. | DatasmithCustomAction.h | ||
virtual void ApplyOnAssets
(
const TArray< FAssetData >& SelectedAssets |
The actual processing, called by Datasmith when the user trigger an action. | DatasmithCustomAction.h | |
| Called by Datasmith when we displays potential action for some actors (eg. when the context menu of the level editor is used). | DatasmithCustomAction.h | ||
virtual bool CanApplyOnAssets
(
const TArray< FAssetData >& SelectedAssets |
Called by Datasmith when we displays potential action for some assets (eg. when the context menu of the content browser is used). | DatasmithCustomAction.h | |
virtual const FText & GetLabel() |
DatasmithCustomAction.h | ||
virtual const FText & GetTooltip() |
DatasmithCustomAction.h |