8#include "CoreMinimal.h"
9#include "Kismet/BlueprintFunctionLibrary.h"
12#include "ColorUtilities.generated.h"
30 UFUNCTION(BlueprintCallable, Category =
"Conversion")
31 static FLinearColor HexToLinearColor(
const FString& HexString,
bool& bSuccess);
39 UFUNCTION(BlueprintCallable, Category =
"Conversion")
40 static FLinearColor RGBStringToLinearColor(
const FString& ColorString,
bool& bSuccess);
48 UFUNCTION(BlueprintPure, Category =
"Color Utilities")
49 static FLinearColor AutoDetectColorStringToLinearColor(
const FString& ColorString,
bool& bSuccess);
52 UFUNCTION(BlueprintCallable, Category =
"Conversion")
53 static FString LinearColorToHex(
const FLinearColor& Color,
bool bIncludeAlpha,
bool bAddPrefix);
56 UFUNCTION(BlueprintCallable, Category =
"Conversion")
57 static FString LinearColorToRGBString(
const FLinearColor& Color,
bool bIncludeAlpha);
64 UFUNCTION(BlueprintPure, Category =
"Color Utilities")
65 static bool IsValidRGBString(
const FString& ColorString);
72 UFUNCTION(BlueprintPure, Category =
"Color Utilities")
73 static bool IsValidHexString(
const FString& ColorString);