mirror of
https://github.com/Theaninova/BeatLanguageMapper.git
synced 2026-01-20 08:53:02 +00:00
Mk2
uh stuff. i'm putting it in the readme.
This commit is contained in:
24
Source/MediocreMapper/ColorConverter.h
Normal file
24
Source/MediocreMapper/ColorConverter.h
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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);
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user