Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SEditorViewport
- SAssetEditorViewport
- SBaseCharacterFXEditorViewport
- SDataflowEditorViewport
- SLevelViewport
- SUVEditor2DViewport
- SUVEditor3DViewport
- SBasePoseViewport
- SContextualAnimViewport
- SDatabaseViewport
- SGroomEditorViewport
- SRetargetPoseViewport
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/SEditorViewport.h |
| Include | #include "SEditorViewport.h" |
Syntax
class SEditorViewport : public SCompoundWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FEditorViewportClient > | Client | The client responsible for setting up the scene | |
| TSharedPtr< FUICommandList > | CommandList | Commandlist used in the viewport (Maps commands to viewport specific actions) | |
| FVector2D | InViewportContextMenuLocation | ||
| double | LastTickTime | The last time the viewport was ticked (for visibility determination) | |
| TSharedPtr< FSceneViewport > | SceneViewport | Viewport that renders the scene provided by the viewport client | |
| TSharedPtr< SOverlay > | ViewportOverlay | ||
| TSharedPtr< SViewport > | ViewportWidget | Widget where the scene viewport is drawn in |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BindCommands () |
||
| TSharedRef< SWidget > | Call this function to build a 'text' widget that can display the present feature level | ||
| TSharedRef< SWidget > | Build the exposure menu using EV100 settings | ||
| bool | |||
| bool | |||
| void | Changes the auto exposure setting for this viewport | ||
| void | Construct
(
const FArguments& InArgs |
||
| bool | |||
| void | EnableStereoRendering
(
const bool bInEnableStereoRendering |
Sets whether stereo rendering is allowed for this viewport. Advanced use only | |
| const TSharedPtr< FUICommandList > | |||
| EVisibility | |||
| TSharedPtr< FSceneViewport > | |||
| EVisibility | Controls the visibility of the widget transform toolbar, if there is an associated toolbar | ||
| TSharedPtr< FEditorViewportClient > | |||
| UWorld * | GetWorld () |
Gets the world this viewport is for | |
| void | |||
| void | Invalidate () |
Invalidates the viewport to ensure it is redrawn during the next tick. | |
| bool | |||
| bool | IsCoordSystemActive
(
ECoordSystem CoordSystem |
||
| bool | Checks if auto exposure setting is selected | ||
| bool | Called to know whether the fixed EV100 slider is enabled. | ||
| bool | |||
| bool | IsRealtime () |
||
| bool | IsShowFlagEnabled
(
uint32 EngineShowFlagIndex |
Checks if a show flag is enabled in this viewport | |
| bool | IsStatCommandVisible
(
FString CommandName |
Checks if Stat command is visible in this viewport | |
| bool | |||
| bool | IsVisible () |
||
| bool | |||
| TSharedRef< FEditorViewportClient > | |||
| TSharedPtr< SWidget > | Implement this to add a viewport toolbar to the inside top of the viewport. | ||
| void | Cycles between world and local coordinate systems | ||
| void | Moves between widget modes | ||
| void | |||
| void | |||
| void | OnFixedEV100ValueChanged
(
float NewValue |
Called when fixed EV100 slider is adjusted | |
| void | Called when the user wants to focus the viewport to the current selection | ||
| float | End feature level control functions block | ||
| EVisibility | |||
| const FSlateBrush * | |||
| FSlateColor | |||
| EVisibility | |||
| void | Changes the snapping grid size | ||
| void | |||
| bool | Called to test whether surface snapping is enabled or not | ||
| void | |||
| void | |||
| void | |||
| void | |||
| void | Toggles realtime on/off for the viewport. Slate tick/paint is ensured when realtime is on. | ||
| void | UI Command delegate bindings | ||
| void | Called when surface snapping has been enabled/disabled | ||
| void | PopulateViewportOverlays
(
TSharedRef< SOverlay > Overlay |
Implement this to add an arbitrary set of toolbars or other overlays to the inside of the viewport. | |
| void | SetRenderDirectlyToWindow
(
const bool bInRenderDirectlyToWindow |
Sets whether this viewport can render directly to the back buffer. Advanced use only | |
| void | Called when the user wants to show the in-viewport context menu | ||
| void | |||
| void | ToggleShowFlag
(
uint32 EngineShowFlagIndex |
Toggles a show flag in this viewport | |
| void | ToggleStatCommand
(
FString CommandName |
Toggles Stat command visibility in this viewport | |
| void | UpdateInViewportMenuLocation
(
const FVector2D InLocation |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FReply | OnFocusReceived
(
const FGeometry& MyGeometry, |
KEY INPUT Called when focus is given to this widget. This event does not bubble. | |
| FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | ||
| bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. | ||
| void | Ticks this widget with Geometry. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |