![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Anchors.h>
Public Member Functions | |
| FAnchors () | |
| FAnchors (float UnifromAnchors) | |
| FAnchors (float Horizontal, float Vertical) | |
| FAnchors (float MinX, float MinY, float MaxX, float MaxY) | |
| bool | operator== (const FAnchors &Other) const |
| bool | operator!= (const FAnchors &Other) const |
| bool | IsStretchedVertical () const |
| bool | IsStretchedHorizontal () const |
Public Attributes | |
| FVector2D | Minimum |
| FVector2D | Maximum |
Describes how a widget is anchored.
|
inline |
Default constructor.
The default margin size is zero on all four sides..
|
inline |
Construct a Anchors with uniform space on all sides
Construct a Anchors where Horizontal describes Left and Right spacing while Vertical describes Top and Bottom spacing
Construct Anchors where the spacing on each side is individually specified.
|
inline |
Returns true if the anchors represent a stretch along the horizontal axis
|
inline |
Returns true if the anchors represent a stretch along the vertical axis
| FVector2D FAnchors::Maximum |
Holds the maximum anchors, right + bottom.
| FVector2D FAnchors::Minimum |
Holds the minimum anchors, left + top.