#pragma once #include "CoreMinimal.h" #include "Engine/DataTable.h" #include "FQLightgrid.generated.h" USTRUCT(BlueprintType) struct CADU_API FQLightgridMeta : public FTableRowBase { GENERATED_USTRUCT_BODY() public: // the minimum extent of the map geometry UPROPERTY(BlueprintReadOnly, EditAnywhere) TArray mapMins; // maximum extent of the map geometry UPROPERTY(BlueprintReadOnly, EditAnywhere) TArray mapMaxs; // number of lightgrid cells in each dimension UPROPERTY(BlueprintReadOnly, EditAnywhere) TArray cellCounts; }; USTRUCT(BlueprintType) struct CADU_API FQLightgridCell : public FTableRowBase { GENERATED_USTRUCT_BODY() public: UPROPERTY(BlueprintReadOnly, EditAnywhere) FColor ambientColor; UPROPERTY(BlueprintReadOnly, EditAnywhere) FColor directionalColor; UPROPERTY(BlueprintReadOnly, EditAnywhere) int phi; UPROPERTY(BlueprintReadOnly, EditAnywhere) int theta; };