/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h
Viewport client for editor viewports. Contains common functionality for camera movement, rendering debug information, etc.
class FEditorViewportClient : public [FCommonViewportClient](API\Runtime\Engine\FCommonViewportClient), public [FViewElementDrawer](API\Runtime\Engine\FViewElementDrawer), public [FGCObject](API\Runtime\CoreUObject\UObject\FGCObject)
float
AspectRatio
bool
bAllowCinematicControl
True if this window is allowed to be possessed by cinematic tools for previewing sequences in real-time
bool
bCameraLock
Camera Lock or not
bool
bDisableInput
True if all input is rejected from this viewport
bool
bDraggingByHandle
True if the user is dragging by a widget handle.
bool
bDrawAxes
If true, draw the axis indicators when the viewport is perspective.
bool
bDrawAxesGame
If true, draw the axis indicators when EngineShowFlags.Game is set.
bool
bDrawVertices
If true, draw vertices for selected BSP brushes and static meshes if the large vertices show flag is set.
bool
bForceAudioRealtime
If true, force this viewport to use real time audio regardless of other settings
bool
bForcingUnlitForNewMap
True if we've forced the SHOW_Lighting show flag off because there are no lights in the scene
bool
bHasAudioFocus
If true, this viewport gets to set audio parameters (e.g. set the listener)
bool
bHasMouseMovedSinceClick
If true, the canvas has been been moved using bMoveCanvas Mode
bool
bIsCameraMoving
Is the camera moving?
bool
bIsCameraMovingOnTick
Is the camera moving at the beginning of the tick?
bool
bIsRealtime
If the viewport is currently realtime
bool
bIsSimulateInEditorViewport
True if this level viewport can be used to view Simulate in Editor sessions
bool
bIsTracking
True when within aFMouseDeltaTracker::StartTracking/EndTracking block.
bool
bLockFlightCamera
Flag to lock the viewport fly camera
bool
bNeedsInvalidateHitProxy
If, following the next redraw, we should invalidate hit proxies on the viewport
bool
bNeedsLinkedRedraw
bool
bNeedsRedraw
The number of pending viewport redraws.
bool
bSetListenerPosition
If true, the listener position will be set
bool
bShouldApplyViewModifiers
Whether view modifiers should be called and applied.
bool
bShouldCheckHitProxy
True when we are in a state where we can check the hit proxy for hovering.
bool
bShowStats
True if we should draw stats over the viewport
bool
bShowWidget
Whether the widget should be drawn.
bool
bUseControllingActorViewInfo
bool
bUseNumpadCameraControl
If true, numpad keys will be used to move camera in perspective viewport
bool
bUserIsControllingAtmosphericLight0
True is the use is controling the light via a shorcut
bool
bUserIsControllingAtmosphericLight1
bool
bUsesDrawHelper
True if this viewport uses a draw helper
bool
bUsingOrbitCamera
True if the orbit camera is currently being used
bool
bWidgetAxisControlledByDrag
True if the widget's axis is being controlled by an active mouse drag.
int32
CachedLastMouseX
Represents the last mouse position.
int32
CachedLastMouseY
uint32
CachedMouseX
Represents the last known mouse position.
uint32
CachedMouseY
FEditorCameraCo...
CameraController
Camera controller object that's used for piloting the camera around
float
CameraSpeedScalar
Camera speed scalar
int32
CameraSpeedSetting
Camera speed setting
FCameraControll...
CameraUserImpulseData
Current cached impulse state
TOptional< EAsp...
ControllingActorAspectRatioAxisConstraint
TArray<FPostPr...
ControllingActorExtraPostProcessBlends
TArray< float >
ControllingActorExtraPostProcessBlendWeights
FMinimalViewInf...
ControllingActorViewInfo
FName
CurrentBufferVisualizationMode
FVector
CurrentGestureDragDelta
Cumulative camera drag and rotation deltas from trackpad gesture in current Tick
FRotator
CurrentGestureRotDelta
FName
CurrentGPUSkinCacheVisualizationMode
FName
CurrentGroomVisualizationMode
FName
CurrentLumenVisualizationMode
FIntPoint
CurrentMousePos
-1, -1 if not set
FName
CurrentNaniteVisualizationMode
FName
CurrentRayTracingDebugVisualizationMode
FName
CurrentStrataVisualizationMode
FName
CurrentVirtualShadowMapVisualizationMode
FVector
DefaultOrbitLocation
FVector
DefaultOrbitLookAt
FRotator
DefaultOrbitRotation
Default set up for toggling back
FVector
DefaultOrbitZoom
FEditorCommonDr...
DrawHelper
Draw helper for rendering common editor functionality like the grid
TWeakPtr<SEdit...
EditorViewportWidget
The editor viewport widget this client is attached to
TArray<FString...
EnabledStats
A list of all the stat names which are enabled for this viewport
FEngineShowFlag...
EngineShowFlags
A set of flags that determines visibility for various scene elements.
FExposureSettin...
ExposureSettings
Editor setting to allow designers to override the automatic expose
float
FlightCameraSpeedScale
Extra camera speed scale for flight camera
float
FOVAngle
Viewport's stored horizontal field of view (saved in ini files).
int32
FramesSinceLastDraw
The number of frames since this viewport was last drawn.
float
GestureMoveForwardBackwardImpulse
FViewportStateG...
ImmersiveDelegate
Delegate used to get whether or not this client is in an immersive viewport
TMap< int32, FC...
JoystickStateMap
Cached state of joystick axes and buttons
int8
LandscapeLODOverride
Override the LOD of landscape in this viewport.
FEngineShowFlag...
LastEngineShowFlags
Previous value for engine show flags, used for toggling.
uint32
LastMouseX
Updated on each mouse drag start
uint32
LastMouseY
TSharedPtr<FEd...
ModeTools
Editor mode tools provided to this instance.
FMouseDeltaTrac...
MouseDeltaTracker
FVector2D
MovingPreviewLightSavedScreenPos
Used for the display of the current preview light after it has been adjusted.
float
MovingPreviewLightTimer
TUniqueFunction...
OverrideShowFlagsFunc
Custom override function that will be called every Draw() until override is disabled
FPreviewScene&...
PreviewScene
The scene used for the viewport. Owned externally
TArray<FRealti...
RealtimeOverrides
uint64
RealTimeUntilFrameNumber
Overrides bIsRealtime until GFrameCounter is >= this number.
FRequiredCursor...
RequiredCursorVisibiltyAndAppearance
Cursor visibility and appearance information
FStatHitchesDat...
StatHitchesData
Data needed to display per-frame stat tracking when STAT HITCHES is enabled
FStatUnitData
StatUnitData
Data needed to display per-frame stat tracking when STAT UNIT is enabled
TArray<FSceneV...
StereoViewStates
Viewport view state when stereo rendering is enabled
double
TimeForForceRedraw
When we have LOD locking, it's slow to force redraw of other viewports, so we delay invalidates to reduce the number of redraws
FTransform
UserControlledAtmosphericLightMatrix
float
UserIsControllingAtmosphericLightTimer
float
ViewFOV
Viewport's current horizontal field of view (can be modified by locked cameras etc.)
int32
ViewIndex
Indexof this view in the editor's list of views
FEditorViewport...
ViewModifiers
List of view modifiers to apply on view parameters.
FViewport*
Viewport
TObjectPtr<UTy...
ViewportInteraction
The viewport interaction instance for this viewport
ELevelViewportT...
ViewportType
The viewport type.
FSceneViewState...
ViewState
The viewport's scene view state.
FViewportCamera...
ViewTransformOrthographic
Viewport camera transform data for orthographic viewports
FViewportCamera...
ViewTransformPerspective
Viewport camera transform data for perspective viewports
FViewportStateG...
VisibilityDelegate
Delegate used to get the visibility of this client from a slate viewport layout and tab configuration
FWidget*
Widget