UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAnchorData Struct Reference

#include <CanvasPanelSlot.h>

Public Member Functions

bool operator== (const FAnchorData &Other) const
 
bool operator!= (const FAnchorData &Other) const
 

Public Attributes

FMargin Offsets
 
FAnchors Anchors
 
FVector2D Alignment = FVector2D::ZeroVector
 

Member Function Documentation

◆ operator!=()

bool FAnchorData::operator!= ( const FAnchorData Other) const
inline

Compares this set of FAnchorData with another for inequality.

Parameters
OtherThe other FAnchorData.
Returns
true if the two FAnchors are not equal, false otherwise.

◆ operator==()

bool FAnchorData::operator== ( const FAnchorData Other) const
inline

Compares this set of FAnchorData with another for equality.

Parameters
OtherThe other FAnchorData.
Returns
true if the two FAnchors are equal, false otherwise.

Member Data Documentation

◆ Alignment

FVector2D FAnchorData::Alignment = FVector2D::ZeroVector

Alignment is the pivot point of the widget. Starting in the upper left at (0,0), ending in the lower right at (1,1). Moving the alignment point allows you to move the origin of the widget.

◆ Anchors

FAnchors FAnchorData::Anchors

Anchors.

◆ Offsets

FMargin FAnchorData::Offsets

Offset.


The documentation for this struct was generated from the following file: