#pragma once #include "CoreMinimal.h" #include "Engine/DataTable.h" #include "Components/BillboardComponent.h" #include "AQLightgridHolder.generated.h" // Holds a key reference for UQLightgridComponent to use to look up the lightgrid in the lightgrid meta table. // Only one of these should ever exist in the world. UCLASS(BlueprintType, ClassGroup = (cbots)) class CADU_API AQLightgridHolder : public AActor { GENERATED_BODY() public: AQLightgridHolder(); public: // The key in the lightgrid meta table for which actors in this world should use lightgrid. // Note that by convention, this is just the udim number of the level. UPROPERTY(EditAnywhere, BlueprintReadOnly) int lightgridKey; UPROPERTY(EditAnywhere, BlueprintReadOnly) UDataTable* lightgridMetaTable; UPROPERTY(EditAnywhere, BlueprintReadOnly) UBillboardComponent* editorBillboard; };