RealDocs

UKismetMathLibrary::LinearColor_Yellow

function Engine Blueprint Since 4.0
#include "Kismet/KismetMathLibrary.h"
Access: public Specifiers: staticBlueprintPure

Description

Returns the linear-space yellow color (1, 1, 0, 1). Used for warnings, highlight states, and collectible indicators.

Caveats & Gotchas

  • Yellow (1,1,0) is extremely bright in HDR rendering since both red and green channels are at full intensity. Tone down to (0.8, 0.8, 0) or lower for non-emissive use.
  • In C++ prefer FLinearColor::Yellow.

Signature

static UE_INL_API FLinearColor LinearColor_Yellow();

Return Type

FLinearColor

Example

Show a warning tint on a widget C++
WarningIcon->SetColorAndOpacity(UKismetMathLibrary::LinearColor_Yellow());

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.