Navigation
API > API/Editor > API/Editor/Persona
Arguments used to create a persona viewport tab
| Name | FPersonaViewportArgs |
| Type | struct |
| Header File | /Engine/Source/Editor/Persona/Public/PersonaModule.h |
| Include Path | #include "PersonaModule.h" |
Syntax
struct FPersonaViewportArgs
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPersonaViewportArgs
(
const TSharedRef< class IPersonaPreviewScene >& InPreviewScene |
PersonaModule.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAlwaysShowTransformToolbar | bool | Whether we should always show the transform toolbar for this viewport | PersonaModule.h | |
| BlueprintEditor | TSharedPtr< class FBlueprintEditor > | Optional blueprint editor that we can be embedded in | PersonaModule.h | |
| bShowFloorOptions | bool | Whether to show options relating to floor height | PersonaModule.h | |
| bShowLODMenu | bool | Whether to show the 'LOD' menu | PersonaModule.h | |
| bShowPhysicsMenu | bool | Whether to show options relating to physics | PersonaModule.h | |
| bShowPlaySpeedMenu | bool | Whether to show the 'Play Speed' menu | PersonaModule.h | |
| bShowShowMenu | bool | Whether to show the 'Show' menu | PersonaModule.h | |
| bShowStats | bool | Whether to show in-viewport stats | PersonaModule.h | |
| bShowTimeline | bool | Whether to show the animation timeline | PersonaModule.h | |
| bShowTurnTable | bool | Whether to show options relating to turntable | PersonaModule.h | |
| ContextName | FName | The context in which we are constructed. Used to persist various settings. | PersonaModule.h | |
| Extenders | TArray< TSharedPtr< FExtender > > | Menu extenders | PersonaModule.h | |
| OnGetViewportText | FOnGetViewportText | Delegate used to customize viewport corner text | PersonaModule.h | |
| OnViewportCreated | FOnViewportCreated | Delegate fired when the viewport is created | PersonaModule.h | |
| PreviewScene | TSharedRef< class IPersonaPreviewScene > | Required args | PersonaModule.h | |
| TimelineDelegates | FAnimationScrubPanelDelegates | A structure providing delegates to change the timeline behavior | PersonaModule.h |