RealDocs

UBorder::GetContentColorAndOpacity

function UMG Since 4.0
#include "Components/Border.h"
Access: public Specifiers: const

Description

Returns the current color and opacity multiplier applied to the border's content.

Caveats & Gotchas

  • Not a UFUNCTION — it isn't callable directly from a Blueprint graph node; Blueprint reads the ContentColorAndOpacity property through its reflection Getter instead.
  • Direct field access to the deprecated ContentColorAndOpacity property was removed in favor of this getter as of UE 5.1.

Signature

UMG_API FLinearColor GetContentColorAndOpacity() const;

Return Type

FLinearColor

Example

Read the content tint from C++ C++
FLinearColor Tint = MyBorder->GetContentColorAndOpacity();

Tags

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.