Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/Designer
Inheritance Hierarchy
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/Designer/SDesignSurface.h |
| Include | #include "Designer/SDesignSurface.h" |
Syntax
class SDesignSurface : public SCompoundWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< bool > | AllowContinousZoomInterpolation | Allow continuous zoom interpolation? | |
| bool | bAllowContinousZoomInterpolation | ||
| bool | bDrawGridLines | Should we render the grid lines? | |
| bool | bIsPanning | Are we panning the view at the moment? | |
| bool | bIsZooming | Are we zooming the view with trackpad at the moment? | |
| bool | bRequireControlToOverZoom | Does the user need to press Control in order to over-zoom. | |
| bool | bTeleportInsteadOfScrollingWhenZoomingToFit | ||
| FVector2D | GridOrigin | The position in the grid to begin drawing at. | |
| FVector2D | MouseDownPositionAbsolute | ||
| int32 | PreviousZoomLevel | Previous Zoom Level | |
| float | TotalGestureMagnify | Cumulative magnify delta from trackpad gesture | |
| float | TotalMouseDelta | The Y component of mouse drag (used when zooming) | |
| FVector2D | ViewOffset | The position within the graph at which the user is looking | |
| FVector2D | ViewOffsetStart | ||
| int32 | ZoomLevel | How zoomed in/out we are. e.g. 0.25f results in quarter-sized nodes. | |
| FCurveSequence | ZoomLevelFade | Curve that handles fading the 'Zoom +X' text | |
| FCurveSequence | ZoomLevelGraphFade | Fade on zoom for graph | |
| TUniquePtr< FZoomLevelsContainer > | ZoomLevels | The interface for mapping ZoomLevel values to actual node scaling values. | |
| FVector2D | ZoomStartOffset | Offset in the panel the user started the LMB+RMB zoom from | |
| FVector2D | ZoomTargetBottomRight | ||
| FVector2D | ZoomTargetTopLeft | ||
| FVector2D | ZoomToFitPadding |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ChangeZoomLevel
(
int32 ZoomLevelDelta, |
||
| FSlateRect | |||
| FSlateRect | |||
| void | Construct
(
const FArguments& InArgs |
||
| int32 | |||
| float | |||
| int32 | |||
| FVector2D | |||
| float | Gets the current zoom factor. | ||
| FText | GetZoomText () |
||
| FSlateColor | |||
| FVector2D | GraphCoordToPanelCoord
(
const FVector2D& GraphSpaceCoordinate |
||
| void | OnPaintBackground
(
const FGeometry& AllottedGeometry, |
||
| void | PaintBackgroundAsLines
(
const FSlateBrush* BackgroundImage, |
||
| FVector2D | PanelCoordToGraphCoord
(
const FVector2D& PanelSpaceCoordinate |
||
| void | |||
| bool | ScrollToLocation
(
const FGeometry& MyGeometry, |
||
| void | ZoomToFit
(
bool bInstantZoom |
||
| bool | ZoomToLocation
(
const FVector2D& CurrentSizeWithoutZoom, |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. | |
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. | |
| FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun. This event is bubbled. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. | |
| FReply | OnTouchEnded
(
const FGeometry& MyGeometry, |
Called when a touchpad touch is ended (finger lifted) | |
| FReply | OnTouchGesture
(
const FGeometry& MyGeometry, |
TOUCH and GESTURES Called when the user performs a gesture on trackpad. This event is bubbled. | |
| 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 |