UDatasmithCustomActionBase

Base class for actions available to the end-user through the Content browser contextual menu.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithContent

Header

/Engine/Plugins/Enterprise/DatasmithContent/Source/DatasmithContent/Public/DatasmithCustomAction.h

Include

#include "DatasmithCustomAction.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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

Name Description

Public function Virtual

void

 

ApplyOnActors

(
    const TArray< AActor* >& Sele...
)

The actual processing, called by Datasmith when the user trigger an action.

Public function Virtual

void

 

ApplyOnAssets

(
    const TArray< FAssetData >& Select...
)

The actual processing, called by Datasmith when the user trigger an action.

Public function Virtual

bool

 

CanApplyOnActors

(
    const TArray< AActor* >& Sele...
)

Called by Datasmith when we displays potential action for some actors (eg. when the context menu of the level editor is used).

Public function Virtual

bool

 

CanApplyOnAssets

(
    const TArray< FAssetData >& Select...
)

Called by Datasmith when we displays potential action for some assets (eg. when the context menu of the content browser is used).

Public function Virtual

const FText ...

 

GetLabel()

Public function Virtual

const FText ...

 

GetTooltip()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss