A modded EditSaber for making beat saber maps.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
619 B

  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #pragma once
  3. #include "CoreMinimal.h"
  4. #include "Kismet/BlueprintFunctionLibrary.h"
  5. #include "ColorConverter.generated.h"
  6. /**
  7. *
  8. */
  9. UCLASS()
  10. class MEDIOCREMAPPER_API UColorConverter : public UBlueprintFunctionLibrary
  11. {
  12. GENERATED_BODY()
  13. public:
  14. UFUNCTION(BlueprintCallable, meta = (DisplayName = "Color to Int"), Category = "RGB Integers")
  15. static int ColortoInt(FLinearColor color);
  16. UFUNCTION(BlueprintCallable, meta = (DisplayName = "Int to Color"), Category = "RGB Integers")
  17. static FLinearColor InttoColor(int color);
  18. };