| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SDPIScaler.h |
Include |
#include "Widgets/Layout/SDPIScaler.h" |
class SDPIScaler : public SPanel
Controls the DPI scale of its content. Can be used for zooming or shrinking arbitrary widget content.
Name | Description | ||
---|---|---|---|
|
ChildSlot |
The content being scaled. |
|
|
TAttribute< flo... |
DPIScale |
The scaling factor from 1:1 pixel to slate unit (SU) ratio. |
Name | Description | |
---|---|---|
|
SDPIScaler() |
Name | Description | ||
---|---|---|---|
|
Construct ( |
||
|
SetContent ( |
See the Content attribute |
|
|
SetDPIScale ( |
See the DPIScale attribute |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. |
|
|
FChildren &#... |
GetChildren() |
All widgets must provide a way to access their children in a layout-agnostic way. |
|
float |
GetRelativeLayoutScale ( |
What is the Child's scale relative to this widget. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
Name |
Description |
|
---|---|---|
|
FArguments |