UBorder::GetBrushColor
#include "Components/Border.h"
Access: public
Specifiers: const
Description
Returns the color and opacity multiplier applied to the border's background brush image.
Caveats & Gotchas
- • Not a UFUNCTION — it's a C++-only accessor; distinct from GetContentColorAndOpacity, which tints the child content rather than the background image.
- • Direct field access to the deprecated BrushColor property was removed in favor of this getter as of UE 5.1.
Signature
UMG_API FLinearColor GetBrushColor() const; Return Type
FLinearColor Example
Read the background tint from C++ C++
FLinearColor BgColor = MyBorder->GetBrushColor(); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?