Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Quantizes the linear color with rounding and returns the result as an 8-bit color. This bypasses the SRGB conversion.
| Name | LinearColor_QuantizeRound |
| 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=(DisplayName="Quantize With Rounding To 8-bit (LinearColor)", ScriptMethod="QuantizeRound", Keywords="cast convert"),
Category="Math|Color")
static UE_FColor LinearColor_QuantizeRound
(
FLinearColor InColor
)