Files
BeatLanguageMapper/Source/MediocreMapper/ColorConverter.h
squeaksies 08645a1dfd Mk2
uh stuff. i'm putting it in the readme.
2018-10-30 22:18:39 -07:00

25 lines
619 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "ColorConverter.generated.h"
/**
*
*/
UCLASS()
class MEDIOCREMAPPER_API UColorConverter : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, meta = (DisplayName = "Color to Int"), Category = "RGB Integers")
static int ColortoInt(FLinearColor color);
UFUNCTION(BlueprintCallable, meta = (DisplayName = "Int to Color"), Category = "RGB Integers")
static FLinearColor InttoColor(int color);
};