UBorder::GetVerticalAlignment
#include "Components/Border.h"
Access: public
Specifiers: const
Description
Returns how the border's content is aligned vertically within the available space.
Caveats & Gotchas
- • Not a UFUNCTION — it's a C++-only accessor; Blueprint graphs read the VerticalAlignment property directly rather than calling this function.
- • Direct field access to the deprecated VerticalAlignment property was removed in favor of this getter as of UE 5.1.
Signature
UMG_API EVerticalAlignment GetVerticalAlignment() const; Return Type
EVerticalAlignment Example
Read vertical alignment from C++ C++
EVerticalAlignment Align = MyBorder->GetVerticalAlignment(); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?