Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/Designer
Inheritance Hierarchy
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/Designer/SZoomPan.h |
| Include | #include "Designer/SZoomPan.h" |
Syntax
class SZoomPan : public SCompoundWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< FVector2D > | ViewOffset | The position within the panel at which the user is looking | |
| TAttribute< float > | ZoomAmount | How zoomed in/out we are. e.g. 0.25f results in quarter-sized widgets. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | SetContent
(
const TSharedRef< SWidget >& InContent |
Sets the content for this border |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| float | GetRelativeLayoutScale
(
int32 ChildIndex, |
What is the Child's scale relative to this widget. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |