Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Quantizes the linear color and returns the result as an 8-bit color. This bypasses the SRGB conversion.
| Name | LinearColor_Quantize |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure,
Meta=(DeprecatedFunction, DeprecationMessage="Use LinearColor_QuantizeRound instead for correct color conversion.", DisplayName="Quantize to 8-bit (LinearColor)", ScriptMethod="Quantize", Keywords="cast convert"),
Category="Math|Color")
static UE_FColor LinearColor_Quantize
(
FLinearColor InColor
)