DRG-Femboy-Voice/Source/FSD/Public/RGBLightManagerComponent.h
2025-04-15 12:39:31 -07:00

33 lines
996 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "Components/ActorComponent.h"
#include "RGBLightManagerComponent.generated.h"
class UPointLightComponent;
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
class URGBLightManagerComponent : public UActorComponent {
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
TArray<UPointLightComponent*> Lights;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TArray<FLinearColor> ColorList;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float NewColorsInterval;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float NewColorsVariance;
URGBLightManagerComponent();
UFUNCTION(BlueprintCallable)
void StopRgb();
UFUNCTION(BlueprintCallable)
void StartRgb();
};