Navigation
API > API/Plugins > API/Plugins/DatasmithContent
Inheritance Hierarchy
- UObject
- IDatasmithCustomAction
- UDatasmithCustomActionBase
- UParametricRetessellateAction
References
| Module | DatasmithContent |
| Header | /Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/DatasmithCustomAction.h |
| Include | #include "DatasmithCustomAction.h" |
Syntax
UCLASS (Abstract)
class UDatasmithCustomActionBase :
public UObject,
public IDatasmithCustomAction
Remarks
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
Overridden from IDatasmithCustomAction
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyOnActors
(
const TArray< AActor* >& SelectedActors |
The actual processing, called by Datasmith when the user trigger an action. | |
| void | ApplyOnAssets
(
const TArray< FAssetData >& SelectedAssets |
The actual processing, called by Datasmith when the user trigger an action. | |
| bool | CanApplyOnActors
(
const TArray< AActor* >& SelectedActors |
Called by Datasmith when we displays potential action for some actors (eg. when the context menu of the level editor is used). | |
| 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). | |
| const FText & | GetLabel () |
||
| const FText & | GetTooltip () |