Navigation
API > API/Editor > API/Editor/Persona
Persona module manages the lifetime of all instances of Persona editors.
| Name | FPersonaModule |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/PersonaModule.h |
| Include Path | #include "PersonaModule.h" |
Syntax
class FPersonaModule :
public IModuleInterface,
public IHasMenuExtensibility
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| FCommonToolMenuExtensionArgs | Settings for AddCommonToolbarExtensions |
| FNotifyHostAssetParameters | Struct allowing the anim notify system to interact with an asset type. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCommonToolbarExtensionArgs | FCommonToolMenuExtensionArgs | PersonaModule.h | |
| FOnCustomizeMeshDetails | TBaseDelegate_TwoParams< void, IDetailLayoutBuilder &DetailLayout, TWeakObjectPtr< USkeletalMesh > SkeletalMesh > | Delegates that allow customizing the mesh details layout and are called from within PersonaMeshDetails' CustomizeDetails(). | PersonaModule.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CustomBlendProfiles | TArray< TSharedPtr< IBlendProfilePickerExtender > > | PersonaModule.h | ||
| CustomizeMeshDetailLayoutDelegates | TArray< FOnCustomizeMeshDetails > | PersonaModule.h | ||
| GetCurrentRecordingDelegate | FGetCurrentRecording | Delegate used to get the currently recording animation | PersonaModule.h | |
| GetCurrentRecordingTimeDelegate | FGetCurrentRecordingTime | Delegate used to get the currently recording animation time | PersonaModule.h | |
| IsRecordingActiveDelegate | FIsRecordingActive | Delegate used to query whether recording is active | PersonaModule.h | |
| MenuExtensibilityManager | TSharedPtr< FExtensibilityManager > | PersonaModule.h | ||
| NotifyHostAssetVersion | uint32 | Version counter for NotifyHostParameters | PersonaModule.h | |
| NotifyHostParameters | TMap< FTopLevelAssetPath, FNotifyHostAssetParameters > | Parameters for notify hosts | PersonaModule.h | |
| OnPreviewSceneCreatedDelegate | FOnPreviewSceneCreated | Delegate broadcast when a preview scene is created | PersonaModule.h | |
| OnRegisterLayoutExtensionsDelegate | FOnRegisterLayoutExtensions | Delegate broadcast to register common layout extensions | PersonaModule.h | |
| OnRegisterTabsDelegate | FOnRegisterTabs | Delegate broadcast to register common tabs | PersonaModule.h | |
| RecordDelegate | FRecord | Delegate used to start recording animation | PersonaModule.h | |
| StopRecordingDelegate | FStopRecording | Delegate used to stop recording animation | PersonaModule.h | |
| TickRecordingDelegate | FTickRecording | Delegate used to tick the skelmesh component recording | PersonaModule.h | |
| ToolBarExtensibilityManager | TSharedPtr< FExtensibilityManager > | PersonaModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddCommonMenuExtensions
(
UToolMenu* InToolMenu, |
Add common menu extensions | PersonaModule.h | |
virtual void AddCommonToolbarExtensions
(
FToolBarBuilder& InToolbarBuilder, |
Add common toobar extensions (legacy support) - DEPRECATED | PersonaModule.h | |
virtual void AddCommonToolbarExtensions
(
UToolMenu* InToolMenu, |
Add common toolbar extensions | PersonaModule.h | |
virtual void AddLoopingInterpolation
(
TArray< TWeakObjectPtr< class UAnimSequence > >& AnimSequences |
Add looping interpolation to the list of animations | PersonaModule.h | |
virtual void ApplyCompression
(
TArray< TWeakObjectPtr< class UAnimSequence > >& AnimSequences, |
Apply Compression to list of animations and optionally asks to pick an overrides to the bone compression settings | PersonaModule.h | |
virtual void BroadcastAssetFamilyChange() |
Broadcast event that all asset families need to change | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAdvancedPreviewSceneTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory used to configure preview scene settings | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAnimAssetFindReplaceTabFactory
(
const TSharedRef< FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for finding and replacing in anim data | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAnimationAssetBrowserTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for the animation asset browser | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAnimBlueprintAssetOverridesTabFactory
(
const TSharedRef< class FBlueprintEditor >& InBlueprintEditor, |
Create a tab factory for editing anim blueprint parent overrides | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAnimBlueprintPreviewTabFactory
(
const TSharedRef< class FBlueprintEditor >& InBlueprintEditor, |
Create a tab factory for editing anim blueprint preview & defaults | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAnimMontageSectionsTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for editing montage sections | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAnimNotifiesTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create an anim notifies tab factory | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAssetDetailsTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for editing a single object (like an animation asset) | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateAssetFamilyShortcutWidget
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a shortcut widget for an asset family | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateAttributeViewerTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a attributes viewer tab factory | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateBlendSpaceEditWidget
(
UBlendSpace* InBlendSpace, |
Create a widget to edit a blendspace | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateBlendSpacePreviewWidget
(
TAttribute< const UBlendSpace* > InBlendSpace, |
Deprecated | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateBlendSpacePreviewWidget
(
const FBlendSpacePreviewArgs& InArgs |
Create a widget to preview a blendspace | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateCurveMetadataEditorTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a skeleton curve metadata editor tab factory | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateCurvePicker
(
TSharedRef< IEditableSkeleton > InEditableSkeleton, |
PersonaModule.h | ||
virtual TSharedRef< SWidget > CreateCurvePicker
(
const USkeleton* InSkeleton, |
Create a widget that can choose a curve name. | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateCurveViewerTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
PersonaModule.h | ||
virtual TSharedRef< FWorkflowTabFactory > CreateCurveViewerTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a skeleton curve viewer tab factory | PersonaModule.h | |
virtual TSharedRef< IAnimSequenceCurveEditor > CreateCurveWidgetForAnimDocument
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a widget that acts as a curve document for an animation asset | PersonaModule.h | |
virtual TSharedRef< IMorphTargetViewer > CreateDefaultMorphTargetViewerWidget
(
const TSharedRef< IPersonaPreviewScene >& InPreviewScene, |
Create the default morph target viewer widget | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateDetailsTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a details panel tab factory | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateEditorWidgetForAnimDocument
(
const TSharedRef< IAnimationEditor >& InHostingApp, |
Create a widget that acts as a document for an animation asset | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateFindReplaceWidget
(
const FAnimAssetFindReplaceConfig& InConfig |
Create a widget for finding and replacing in anim data | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateMorphTargetTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for for previewing morph targets | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateMorphTargetTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for for previewing morph targets | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateMultiCurvePicker
(
const USkeleton* InSkeleton, |
Create a widget that can choose multiple curve names. | PersonaModule.h | |
virtual TSharedRef< IAssetFamily > CreatePersonaAssetFamily
(
const UObject* InAsset |
Create an asset family for the supplied persona asset | PersonaModule.h | |
virtual IPersonaEditorModeManager * CreatePersonaEditorModeManager () |
Create a Persona editor mode manager. | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreatePersonaToolboxTabFactory
(
const TSharedRef< class FPersonaAssetEditorToolkit >& InHostingApp |
Create a toolbox tab factory | PersonaModule.h | |
virtual TSharedRef< IPersonaToolkit > CreatePersonaToolkit
(
USkeletalMesh* InSkeletalMesh, |
PersonaModule.h | ||
virtual TSharedRef< IPersonaToolkit > CreatePersonaToolkit
(
UAnimationAsset* InAnimationAsset, |
PersonaModule.h | ||
virtual TSharedRef< IPersonaToolkit > CreatePersonaToolkit
(
USkeleton* InSkeleton, |
PersonaModule.h | ||
virtual TSharedRef< IPersonaToolkit > CreatePersonaToolkit
(
UPhysicsAsset* InPhysicsAsset, |
PersonaModule.h | ||
virtual TSharedRef< IPersonaToolkit > CreatePersonaToolkit
(
UObject* InAsset, |
Create a re-usable toolkit that multiple asset editors that are concerned with USkeleton-related data can use | PersonaModule.h | |
virtual TSharedRef< IPersonaToolkit > CreatePersonaToolkit
(
UAnimBlueprint* InAnimBlueprint, |
PersonaModule.h | ||
virtual TSharedRef< FWorkflowTabFactory > CreatePersonaViewportTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a persona viewport tab factory | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreatePoseWatchTabFactory
(
const TSharedRef< class FBlueprintEditor >& InBlueprintEditor |
Create a tab factory for the pose watch manager | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateRetargetSourcesTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a retarget sources tab factory | PersonaModule.h | |
virtual TSharedRef< SWidget > CreateSkeletonNotifyPicker
(
FOnNotifyPicked InOnNotifyPicked, |
Create a widget that can choose a notify name. | PersonaModule.h | |
virtual TSharedRef< FWorkflowTabFactory > CreateSkeletonSlotNamesTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
PersonaModule.h | ||
virtual TSharedRef< FWorkflowTabFactory > CreateSkeletonSlotNamesTabFactory
(
const TSharedRef< class FWorkflowCentricApplication >& InHostingApp, |
Create a tab factory for editing slot names and groups | PersonaModule.h | |
virtual void CustomizeBlueprintEditorDetails
(
const TSharedRef< class IDetailsView >& InDetailsView, |
Customize the details of a slot node for the specified details view | PersonaModule.h | |
virtual void CustomizeMeshDetails
(
const TSharedRef< IDetailsView >& InDetailsView, |
Customize a skeletal mesh details panel | PersonaModule.h | |
virtual void CustomizeSlotNodeDetails
(
const TSharedRef< class IDetailsView >& InDetailsView, |
PersonaModule.h | ||
virtual bool ExportToFBX
(
TArray< TWeakObjectPtr< class UAnimSequence > >& AnimSequences, |
Export to FBX files of the list of animations | PersonaModule.h | |
virtual const FNotifyHostAssetParameters * FindNotifyHostAsset
(
UObject* InAsset |
Find registered notify host parameters by asset class. | PersonaModule.h | |
virtual TArray< FTopLevelAssetPath > GetAllNotifyHostAssetClassPaths() |
Get all the registered notify host class paths. | PersonaModule.h | |
const TArray< TSharedPtr< IBlendProfilePickerExtender > > & GetCustomBlendProfiles() |
PersonaModule.h | ||
virtual TArray< FOnCustomizeMeshDetails > & GetCustomizeMeshDetailsDelegates() |
PersonaModule.h | ||
virtual TSharedPtr< FExtensibilityManager > GetMenuExtensibilityManager() |
Gets the extensibility managers for outside entities to extend persona editor's menus and toolbars | PersonaModule.h | |
virtual uint32 GetNotifyHostAssetVersion() |
Get the version information for the notify host asset registry. | PersonaModule.h | |
virtual TSharedPtr< FExtensibilityManager > GetToolBarExtensibilityManager() |
PersonaModule.h | ||
virtual void ImportNewAsset
(
USkeleton* InSkeleton, |
Import a new asset using the supplied skeleton | PersonaModule.h | |
virtual FGetCurrentRecording & OnGetCurrentRecording() |
Delegate used to get the currently recording animation | PersonaModule.h | |
virtual FGetCurrentRecordingTime & OnGetCurrentRecordingTime() |
Delegate used to get the currently recording animation time | PersonaModule.h | |
virtual FIsRecordingActive & OnIsRecordingActive() |
Delegate used to query whether recording is active | PersonaModule.h | |
virtual FOnPreviewSceneCreated & OnPreviewSceneCreated() |
Delegate broadcast when a preview scene is created | PersonaModule.h | |
virtual FRecord & OnRecord() |
Delegate used to start recording animation | PersonaModule.h | |
virtual FOnRegisterLayoutExtensions & OnRegisterLayoutExtensions() |
Register common layout extensions | PersonaModule.h | |
virtual FOnRegisterTabs & OnRegisterTabs() |
Register common tabs | PersonaModule.h | |
virtual FStopRecording & OnStopRecording() |
Delegate used to stop recording animation | PersonaModule.h | |
virtual void RecordAssetOpened
(
const FAssetData& InAssetData |
Record that an asset was opened (forward to relevant asset families) | PersonaModule.h | |
void RegisterBlendProfilePickerExtender
(
TSharedPtr< IBlendProfilePickerExtender > Extender |
Register a new blend provider provider in the editor picker for FBlendProfileInterfaceWrapper. | PersonaModule.h | |
virtual void RegisterNotifyHostAsset
(
const FTopLevelAssetPath& InAssetClassPath, |
Register an asset type that can contain named anim notifies. | PersonaModule.h | |
virtual void RegisterPersonaViewportTabFactories
(
FWorkflowAllowedTabSet& TabSet, |
Register 4 Persona viewport tab factories | PersonaModule.h | |
virtual void ShutdownModule() |
Called before the module is unloaded, right before the module object is destroyed. | PersonaModule.h | |
virtual void StartupModule() |
Called right after the module's DLL has been loaded and the module object has been created | PersonaModule.h | |
virtual void TestSkeletonCurveMetaDataForUse
(
const TSharedRef< IEditableSkeleton >& InEditableSkeleton |
Check all animations & skeletal meshes for curve metadata usage | PersonaModule.h | |
virtual void TestSkeletonCurveNamesForUse
(
const TSharedRef< IEditableSkeleton >& InEditableSkeleton |
PersonaModule.h | ||
void UnregisterBlendProfilePickerExtender
(
const FName ExtenderId |
PersonaModule.h | ||
virtual void UnregisterNotifyHostAsset
(
const FTopLevelAssetPath& InAssetClassPath |
Unregister an asset type that can contain named anim notifies. | PersonaModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CreateAnimation
(
const TArray< UObject* > NewAssets, |
PersonaModule.h | ||
static bool CreatePoseAsset
(
const TArray< UObject* > NewAssets, |
PersonaModule.h | ||
static void FillCreateAnimationFromCurrentAnimationMenu
(
FMenuBuilder& MenuBuilder, |
PersonaModule.h | ||
static void FillCreateAnimationMenu
(
FMenuBuilder& MenuBuilder, |
PersonaModule.h | ||
static void FillCreatePoseAssetMenu
(
FMenuBuilder& MenuBuilder, |
PersonaModule.h | ||
static void FillInsertPoseMenu
(
FMenuBuilder& MenuBuilder, |
PersonaModule.h | ||
static TSharedRef< SWidget > GenerateCreateAssetMenu
(
TWeakPtr< IPersonaToolkit > InWeakPersonaToolkit |
PersonaModule.h | ||
static bool HandleAssetCreated
(
const TArray< UObject* > NewAssets |
PersonaModule.h | ||
static void InsertCurrentPoseToAsset
(
const FAssetData& NewPoseAssetData, |
PersonaModule.h |