| FCommonViewportClient | ||||
| FViewElementDrawer | ||||
| FGCObject
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h |
Include |
#include "LevelEditorViewport.h" |
class FLevelEditorViewportClient : public FEditorViewportClient
Name | Description | ||
---|---|---|---|
|
bAlwaysShowModeWidgetAfterSelectionChanges |
When enabled, the Unreal transform widget will become visible after an actor is selected, even if it was turned off via a show flag |
|
|
bDrawBaseInfo |
Indicates whether, of not, the base attachment volume should be drawn for this viewport. |
|
|
bDuplicateActorsInProgress |
BDuplicateActorsOnNextDrag will not be set again while bDuplicateActorsInProgress is true. |
|
|
bDuplicateOnNextDrag |
Used for drag duplication. |
|
|
bEnableColorScaling |
||
|
bEnableFading |
||
|
bIsTrackingBrushModification |
True when a brush is being transformed by its Widget |
|
|
bLockedCameraView |
True if this viewport is to change its view (aspect ratio, post processing, FOV etc) to match that of the currently locked camera, if applicable |
|
|
bOnlyMovedPivot |
True if only the pivot position has been moved |
|
|
bReceivedFocusRecently |
Whether this viewport recently received focus. |
|
|
ColorScale |
||
|
float |
FadeAmount |
|
|
FadeColor |
||
|
LastEditorViewLocation |
The viewport location that is restored when exiting PIE |
|
|
LastEditorViewRotation |
The viewport orientation that is restored when exiting PIE |
|
|
TWeakPtr< class... |
ParentLevelEditor |
Parent level editor that owns this viewport. |
|
ViewHiddenLayers |
List of layers that are hidden in this view |
|
|
VolumeActorVisibility |
Special volume actor visibility settings. |
Name | Description | |
---|---|---|
|
FLevelEditorViewportClient ( |
Constructor |
Name | Description | |
---|---|---|
|
~FLevelEditorViewportClient() |
Destructor |
Name | Description | ||
---|---|---|---|
|
AddHoverEffect ( |
Static: Adds a hover effect to the specified object |
|
|
ApplyDeltaToActor |
||
|
ApplyDeltaToActors |
||
|
ApplyDeltaToComponent ( |
||
|
CanApplyMaterialToHitProxy ( |
Called to check if a material can be applied to an object, given the hit proxy |
|
|
CanDropBlueprintAsset ( |
Checks the viewport to see if the given blueprint asset can be dropped on the viewport. |
|
|
ClearHoverFromObjects() |
Static: Clears viewport hover effects from any objects that currently have that |
|
|
CopyLayoutFromViewport ( |
Copies layout and camera settings from the specified viewport |
|
|
DrawTextureStreamingBounds ( |
Draw the texture streaming bounds. |
|
|
UActorCompon... |
FindViewComponentForActor ( |
Find a view component to use for the specified actor. |
|
TWeakObjectP... |
GetActiveActorLock() |
Access the 'active' actor lock. |
|
UCameraCompo... |
GetCameraComponentForView() |
Find the camera component that is driving this viewport, in the following order of preference: |
|
const TArray... |
GetDropPreviewActors() |
|
|
GetDropPreviewLocation() |
||
|
EAxisList::T... |
GetHorizAxis() |
Returns the horizontal axis for this viewport. |
|
GetIsCameraCut() |
||
|
UObject *... |
GetOrCreateMaterialFromTexture ( |
Static: Given a texture, returns a material for that texture, creating a new asset if necessary. |
|
GetSpriteCategoryVisibility ( |
Returns whether the provided unlocalized sprite category is visible in the viewport or not |
|
|
GetSpriteCategoryVisibility ( |
Returns whether the sprite category specified by the provided index is visible in the viewport or not |
|
|
EAxisList::T... |
GetVertAxis() |
Returns the vertical axis for this viewport. |
|
HandleViewportSettingChanged ( |
Callback for when an editor user setting has changed |
|
|
InitializeVisibilityFlags() |
Initialize visibility flags |
|
|
IsActorLocked ( |
Check to see if this actor is locked by the viewport |
|
|
IsAnyActorLocked() |
Check to see if any actor is locked by the viewport |
|
|
IsDroppingPreviewActor() |
Returns true if creating a preview actor in the viewport. |
|
|
IsLockedToActor ( |
Check whether this viewport is locked to the specified actor |
|
|
IsLockedToMatinee() |
Check whether this viewport is locked to display the matinee view |
|
|
IsVolumeVisibleInViewport ( |
Returns true if the passed in volume is visible in the viewport (due to volume actor visibility flags) |
|
|
ModifyScale ( |
Helper function for ApplyDeltaTo* functions - modifies scale based on grid settings. |
|
|
MoveCameraToLockedActor() |
Moves the viewport camera according to the locked actors location and rotation |
|
|
OnActorMoved ( |
Delegate handler for ActorMoved events |
|
|
OnEditorCleanse() |
Called when editor cleanse event is triggered |
|
|
OnPreBeginPIE ( |
Called before the editor tries to begin PIE |
|
|
PrepareCameraForPIE() |
Stores camera settings that may be adversely affected by PIE, so that they may be restored later |
|
|
RemoveHoverEffect ( |
Static: Removes a hover effect to the specified object |
|
|
RemoveReferenceToWorldContext ( |
||
|
ResetCamera() |
Reset the camera position and rotation. Used when creating a new level. |
|
|
ResetViewForNewMap() |
Reset the view for a new map |
|
|
RestoreCameraFromPIE() |
Restores camera settings that may be adversely affected by PIE |
|
|
SetActorLock ( |
Set the actor lock. This is the actor locked to the viewport via the viewport menus. |
|
|
SetAllSpriteCategoryVisibility ( |
Sets the visibility of all sprite categories to the provided value |
|
|
SetCurrentViewport() |
Set the global ptr to the current viewport |
|
|
SetIsCameraCut() |
Sets a flag for this frame indicating that the camera has been cut, and temporal effects (such as motion blur) should be reset |
|
|
SetIsDroppingPreviewActor ( |
Sets the state of creating a preview actor in the viewport. |
|
|
SetLastKeyViewport() |
Set the global ptr to the last viewport to receive a key press |
|
|
SetMatineeActorLock ( |
Set the actor locked to the viewport by Matinee. |
|
|
SetReferenceToWorldContext ( |
||
|
SetSpriteCategoryVisibility |
Sets the visibility of the category specified by the provided index to the provided value |
|
|
SetSpriteCategoryVisibility |
Sets the visibility of the provided unlocalized category to the provided value |
|
|
SetViewportTypeFromTool ( |
Calling SetViewportType from Dragtool_ViewportChange |
|
|
ShouldUseMoveCanvasMovement() |
Determines if the new MoveCanvas movement should be used |
|
|
TryPlacingActorFromObject ( |
Static: Attempts to place the specified object in the level, returning one or more newly-created actors if successful. |
|
|
UpdateAudioListener ( |
Updates the audio listener for this viewport |
|
|
UpdateHoveredObjects ( |
||
|
UpdateViewForLockedActor ( |
Updates or resets view properties such as aspect ratio, FOV, location etc to match that of any actor we are locked to |
Name | Description | ||
---|---|---|---|
|
AbortTracking() |
Aborts mouse tracking (stop and cancel) |
|
|
BeginCameraMovement ( |
Handle the camera about to be moved or stopped |
|
|
FSceneView &... |
CalcSceneView ( |
Configures the specified FSceneView object with the view and projection matrices for this viewport. |
|
CanDropObjectsAtCoordinates ( |
Checks the viewport to see if the given object can be dropped using the given mouse coordinates local to this viewport |
|
|
CheckHoveredHitProxy ( |
Checks if the mouse is hovered over a hit proxy and decides what to do. |
|
|
DestroyDropPreviewActors() |
If dragging an actor for placement, this function destroys the actor. |
|
|
DrawCanvas ( |
Called to draw onto the viewports 2D canvas |
|
|
DropObjectsAtCoordinates |
Attempts to intelligently drop the given objects in the viewport, using the given mouse coordinates local to this viewport |
|
|
EndCameraMovement() |
||
|
GetActiveSafeFrame ( |
Helper used by DrawSafeFrames to get the current safe frame aspect ratio. |
|
|
GetBackgroundColor() |
||
|
float |
GetCameraSpeedScalar() |
Get the camera speed scalar for this viewport |
|
GetCameraSpeedSetting() |
Get the camera speed setting for this viewport |
|
|
GetPivotForOrbit ( |
Get the custom pivot point around which the camera should orbit for this viewport |
|
|
ELevelViewpo... |
GetViewportType() |
Returns the effective viewport type (taking into account any actor locking or camera possession) |
|
GetWidgetCoordSystem() |
||
|
GetWidgetLocation() |
||
|
FWidget::EWi... |
GetWidgetMode() |
|
|
HasDropPreviewActors() |
Returns true if a placement dragging actor exists |
|
|
InputWidgetDelta ( |
Called to give the viewport client a chance to handle widgets being moved |
|
|
IsLevelEditorClient() |
If true, this is a level editor viewport |
|
|
TSharedPtr< ... |
MakeDragTool ( |
Called to make a drag tool when the user starts dragging in the viewport |
|
NudgeSelectedObjects ( |
||
|
OverridePostProcessSettings ( |
Called to override any post process settings for the view |
|
|
PerspectiveCameraMoved() |
Called when the perspective viewport camera moves |
|
|
ProcessClick ( |
Called when the user clicks in the viewport |
|
|
RedrawAllViewportsIntoThisScene() |
Invalidates this and other linked viewports (anything viewing the same scene) |
|
|
RotateViewportType() |
Rotate through viewport view options |
|
|
SetCameraSpeedScalar ( |
Set the camera speed scalar for this viewport |
|
|
SetCameraSpeedSetting ( |
Set the speed setting for the camera in this viewport |
|
|
SetupViewForRendering ( |
Called to do any additional set up of the view for rendering |
|
|
SetViewportType ( |
Set the viewport type of the client |
|
|
SetVREditView ( |
||
|
ShouldLockPitch() |
||
|
ShouldScaleCameraSpeedByDistance() |
||
|
Tick ( |
Ticks this viewport client |
|
|
TrackingStarted ( |
Called when mouse movement tracking begins |
|
|
TrackingStopped() |
Called when mouse movement tracking stops |
|
|
UpdateDropPreviewActors |
If dragging an actor for placement, this function updates its position. |
|
|
UpdateLinkedOrthoViewports ( |
FEditorViewportClient Interface |
|
|
UseAppTime() |
Should this viewport use app time instead of world time. |
Name | Description | ||
---|---|---|---|
|
CapturedMouseMove |
Called when the mouse is moved while a window input capture is in effect |
|
|
ConditionalRestoreWorld ( |
Restores GWorld to InWorld |
|
|
UWorld * |
ConditionalSetWorld() |
Sets GWorld to the appropriate world for this client |
|
EMouseCursor... |
GetCursor |
Retrieves the cursor that should be displayed by the OS |
|
UWorld * |
GetWorld() |
Use the viewports Scene to get a world. |
|
InputAxis |
Check an axis movement received by the viewport. |
|
|
LostFocus ( |
||
|
MouseMove |
||
|
OverrideHighResScreenshotCaptureRegion ( |
Allow viewport client to override the current capture region |
|
|
ReceivedFocus ( |
||
|
SetIsSimulateInEditorViewport ( |
Name | Description | ||
---|---|---|---|
|
Draw ( |
FViewElementDrawer interface |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
GC references. Serialization. |
Name |
Description |
---|---|
bIsDroppingPreviewActor |
If currently creating a preview actor. |
DropPreviewActors |
The actors that are currently being placed in the viewport via dragging |
HoveredObjects |
Static: List of objects we're hovering over |
ViewComponentForActorCache |
Caching for expensive FindViewComponentForActor. Invalidated once per Tick. |
Name | Description | ||
---|---|---|---|
|
InputKey ( |
Use the new InputKey(const FInputKeyEventArgs& EventArgs) function. |