| SEditorViewport | ||
| IAssetViewport
|
Module |
|
Header |
/Engine/Source/Editor/LevelEditor/Public/SLevelViewport.h |
Include |
#include "SLevelViewport.h" |
class SLevelViewport :
public SEditorViewport,
public IAssetViewport
Encapsulates an SViewport and an SLevelViewportToolBar
Name | Description | |
---|---|---|
|
SLevelViewport() |
Name | Description | |
---|---|---|
|
~SLevelViewport() |
Name | Description | ||
---|---|---|---|
|
CanGetCameraInformationFromActor ( |
||
|
CanToggleGameView() |
||
|
Construct ( |
Constructs the viewport widget |
|
|
ConstructLevelEditorViewportClient ( |
Constructs the level editor viewport client |
|
|
ConstructViewportOverlayContent() |
Constructs the widgets for the viewport overlay |
|
|
TSharedRef< ... |
CreateActorLockSceneOutlinerColumn ( |
|
|
TSharedRef< ... |
GenerateLevelMenu() |
|
|
float |
GetActorLockSceneOutlinerColumnWidth() |
|
|
GetCameraInformationFromActor ( |
||
|
GetCloseImmersiveButtonVisibility() |
Called to get the visibility of the viewport's 'Restore from Immersive' button. |
|
|
const TShare... |
GetCommandList() |
|
|
GetConfigKey() |
Returns the config key associated with this viewport. |
|
|
GetCurrentLevelButtonVisibility() |
||
|
GetCurrentLevelText ( |
Called to get the level text |
|
|
GetCurrentLevelTextVisibility() |
||
|
GetCurrentScreenPercentageText ( |
Called to get the screen percentage preview text |
|
|
GetCurrentScreenPercentageVisibility() |
||
|
GetDeviceProfileString() |
||
|
GetFullToolbarVisibility() |
Get the visibility for items considered to be part of the 'full' viewport toolbar |
|
|
const FLevel... |
GetLevelViewportClient() |
|
|
FLevelEditor... |
GetLevelViewportClient() |
|
|
GetMaximizeToggleVisibility() |
Called to get the visibility of the viewport's maximize/minimize toggle button. |
|
|
GetParentLevelEditor() |
Get the parent level editor for this viewport |
|
|
GetSelectedActorsCurrentLevelText ( |
Called to get the text for the level the currently selected actor or actors are in. |
|
|
GetSelectedActorsCurrentLevelTextVisibility() |
||
|
GetToolbarVisibility() |
Get the visibility for viewport toolbar |
|
|
GetToolBarVisibility() |
Called to get the visibility of the level viewport toolbar |
|
|
GetViewportControlsVisibility() |
||
|
GetViewportTypeWithinLayout() |
Get this level viewport widget's type within its parent layout |
|
|
IsActorAlwaysPreview ( |
For the specified actor, See if we're forcing a preview |
|
|
IsActorLocked ( |
||
|
IsActorPreviewDetached ( |
See if the specified actor's ActorPreview is detached from actor |
|
|
IsActorPreviewPinned ( |
See if the specified actor's ActorPreview is pinned or not |
|
|
IsAnyActorLocked() |
||
|
IsDeviceProfileStringSet ( |
||
|
IsFoliageTypeVisible ( |
Checks if a foliage type is visible in this viewport |
|
|
IsInForegroundTab() |
||
|
IsLayerVisible ( |
Checks if a layer is visible in this viewport Called to determine if a layer is visible. |
|
|
IsLockedCameraViewEnabled() |
Check whether locked camera view is enabled |
|
|
IsMaximized() |
||
|
IsPlayInEditorViewportActive() |
||
|
IsSelectedActorLocked() |
||
|
IsViewportConfigurationSet ( |
Returns whether the named layout is currently selected on the parent tab that this viewport belongs to. |
|
|
IsViewportTypeWithinLayoutEqual ( |
Checks if the specified layout type matches our current viewport type. |
|
|
LockActorInternal ( |
||
|
OnActorLockToggleFromMenu ( |
Called to lock/unlock the actor from the viewport's context menu |
|
|
OnActorSelectionChanged |
Called on all viewports, when actor selection changes. |
|
|
OnClearAllBookmarks() |
Called to clear all bookmarks |
|
|
OnClearBookmark ( |
Called to clear a bookmark |
|
|
OnCompactBookmarks() |
Called to Compact Bookmarks. |
|
|
OnFloatingButtonClicked() |
Actions to perform whenever the viewports floating buttons are pressed |
|
|
OnJumpToBookmark ( |
Called to jump to a bookmark |
|
|
OnMenuClicked() |
||
|
OnPreviewSelectedCamerasChange() |
Called when Preview Selected Cameras preference is changed. |
|
|
OnSetBookmark ( |
Called to set a bookmark |
|
|
OnSetViewportConfiguration ( |
Sets the current layout on the parent tab that this viewport belongs to. |
|
|
OnToggleMaximize() |
Called when the maximize command is executed |
|
|
RemoveAllPreviews ( |
Unpin and close all actor preview windows |
|
|
SaveConfig ( |
Saves this viewport's config to ULevelEditorViewportSettings |
|
|
SetActorAlwaysPreview ( |
For the specified actor, toggle Pinned/Unpinned of it's ActorPreview |
|
|
SetDeviceProfileString ( |
Set the device profile name |
|
|
SetKeyboardFocusToThisViewport() |
Sets Slate keyboard focus to this viewport |
|
|
SetViewportTypeWithinLayout ( |
Set this level viewport widget's type within its parent layout |
|
|
ToggleActorPilotCameraView() |
Toggles enabling the exact camera view when locking a viewport to a camera |
|
|
ToggleActorPreviewIsPanelDetached ( |
For the specified actor, toggle whether the panel is detached from it |
|
|
ToggleActorPreviewIsPinned ( |
For the specified actor, toggle Pinned/Unpinned of it's ActorPreview |
|
|
ToggleAllFoliageTypes ( |
Toggles all foliage types visibility |
|
|
ToggleShowFoliageType ( |
Toggles foliage type visibility in this viewport |
|
|
ToggleShowLayer ( |
Toggles layer visibility in this viewport |
|
|
ToggleViewportTypeActivationWithinLayout ( |
Activates the specified viewport type in the layout, if it's not already, or reverts to default if it is. |
Name | Description | ||
---|---|---|---|
|
BindCommands() |
||
|
GetTransformToolbarVisibility() |
Controls the visibility of the widget transform toolbar, if there is an associated toolbar |
|
|
UWorld * |
GetWorld() |
Gets the world this viewport is for |
|
IsVisible() |
||
|
TSharedRef< ... |
MakeEditorViewportClient() |
SEditorViewport interface |
|
TSharedPtr< ... |
MakeViewportToolbar() |
Implement this to add a viewport toolbar to the inside top of the viewport. |
|
OnDecrementPositionGridSize() |
||
|
OnDecrementRotationGridSize() |
||
|
OnFocusViewportToSelection() |
SEditorViewport Interface |
|
|
const FSlate... |
OnGetViewportBorderBrush() |
|
|
OnGetViewportBorderColorAndOpacity() |
||
|
OnGetViewportContentVisibility() |
This is not the visibility of the scene rendered in the viewport |
|
|
OnIncrementPositionGridSize() |
Changes the snapping grid size |
|
|
OnIncrementRotationGridSize() |
Name | Description | ||
---|---|---|---|
|
AddOverlayWidget ( |
Adds a widget overlaid over the viewport |
|
|
TSharedRef< ... |
AsWidget() |
Returns the SLevelViewport widget (const). |
|
TSharedRef< ... |
AsWidget() |
Returns the SLevelViewport widget. |
|
EndPlayInEditorSession() |
Ends a currently active play in editor session in this viewport |
|
|
FViewport &#... |
GetActiveViewport() |
Gets the active viewport. |
|
FEditorViewp... |
GetAssetViewportClient() |
|
|
TSharedPtr< ... |
GetSharedActiveViewport() |
|
|
GetViewportWidget() |
Returns the SViewport widget contained within the SLevelViewport. |
|
|
HasPlayInEditorViewport() |
||
|
IsImmersive() |
||
|
IsInGameView() |
||
|
MakeImmersive |
Attempts to switch this viewport into immersive mode |
|
|
OnSimulateSessionFinished() |
Called by the editor when simulate mode with this viewport finishes |
|
|
OnSimulateSessionStarted() |
Called by the editor when simulate mode is started with this viewport |
|
|
RegisterGameViewportIfPIE() |
Registers a game viewport with the Slate application so that specific messages can be routed directly to this level viewport if it is an active PIE viewport |
|
|
RemoveOverlayWidget ( |
Removes a widget that was previously overlaid on to this viewport |
|
|
StartPlayInEditorSession ( |
IAssetViewport Interface |
|
|
SwapViewportsForPlayInEditor() |
Swaps the active SIE viewport client with the inactive PIE viewport (Swaps back to the game) It is not valid to call this unless we have an active simulate in editor session |
|
|
SwapViewportsForSimulateInEditor() |
Swaps the active PIE viewport client with the level editor viewport client for simulate in editor It is not valid to call this unless we have an active play in editor session |
|
|
ToggleGameView() |
Called when game view should be toggled |
Name |
Description |
|
---|---|---|
|
FArguments |