UKismetMathLibrary::LinearColor_Green
#include "Kismet/KismetMathLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the linear-space green color (0, 1, 0, 1). Frequently used for health indicators and positive state feedback.
Caveats & Gotchas
- • Pure green (0,1,0) in linear space is very bright in HDR scenes; it may blow out in tone-mapping. Reduce intensity with MakeColor(0, 0.5, 0, 1) for more neutral greens.
- • In C++, FLinearColor::Green is available directly without calling this function.
Signature
static UE_INL_API FLinearColor LinearColor_Green(); Return Type
FLinearColor Example
Set a health bar to green C++
HealthBar->SetFillColorAndOpacity(UKismetMathLibrary::LinearColor_Green()); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?