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