Navigation
API > API/Editor > API/Editor/UMGEditor
| Name | SDesignSurface |
| Type | class |
| Header File | /Engine/Source/Editor/UMGEditor/Public/Designer/SDesignSurface.h |
| Include Path | #include "Designer/SDesignSurface.h" |
Syntax
class SDesignSurface : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SDesignSurface
- FSlateControlledConstruction → SWidget → SCompoundWidget → SDesignSurface
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTimerHandle | TWeakPtr< FActiveTimerHandle > | The handle to the active timer | Designer/SDesignSurface.h | |
| bDeferredZoomToExtents | bool | A flag noting if we have a pending zoom to extents operation to perform next tick. | Designer/SDesignSurface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Designer/SDesignSurface.h | ||
float GetZoomAmount() |
Gets the current zoom factor. | Designer/SDesignSurface.h | |
FVector2D GraphCoordToPanelCoord
(
const FVector2D& GraphSpaceCoordinate |
Designer/SDesignSurface.h | ||
FVector2D PanelCoordToGraphCoord
(
const FVector2D& PanelSpaceCoordinate |
Designer/SDesignSurface.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FCursorReply OnCursorQuery
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual FReply OnMouseWheel
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Designer/SDesignSurface.h | ||
virtual FReply OnTouchEnded
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual FReply OnTouchGesture
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
virtual bool SupportsKeyboardFocus() |
Designer/SDesignSurface.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
Designer/SDesignSurface.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ChangeZoomLevel
(
int32 ZoomLevelDelta, |
Designer/SDesignSurface.h | ||
virtual FSlateRect ComputeAreaBounds() |
Designer/SDesignSurface.h | ||
FSlateRect ComputeSensibleBounds() |
Designer/SDesignSurface.h | ||
virtual int32 GetGraphRulePeriod() |
Designer/SDesignSurface.h | ||
virtual float GetGridScaleAmount() |
Designer/SDesignSurface.h | ||
int32 GetSnapGridSize() |
Designer/SDesignSurface.h | ||
FVector2D GetViewOffset() |
Designer/SDesignSurface.h | ||
FText GetZoomText() |
Designer/SDesignSurface.h | ||
FSlateColor GetZoomTextColorAndOpacity() |
Designer/SDesignSurface.h | ||
virtual void OnPaintBackground
(
const FGeometry& AllottedGeometry, |
Designer/SDesignSurface.h | ||
void PaintBackgroundAsLines
(
const FSlateBrush* BackgroundImage, |
Designer/SDesignSurface.h | ||
void PostChangedZoom() |
Designer/SDesignSurface.h | ||
bool ScrollToLocation
(
const FGeometry& MyGeometry, |
Designer/SDesignSurface.h | ||
void ZoomToFit
(
bool bInstantZoom |
Designer/SDesignSurface.h | ||
bool ZoomToLocation
(
const FVector2D& CurrentSizeWithoutZoom, |
Designer/SDesignSurface.h |