#pragma once #include "CoreMinimal.h" #include "Components/PrimitiveComponent.h" #include "BakeSettings.h" #include "Templates/SubclassOf.h" #include "LevelGenerationCarverComponent2.generated.h" class ACSGBuilder; class UCSGPreviewComponent; UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent)) class ULevelGenerationCarverComponent2 : public UPrimitiveComponent { GENERATED_BODY() public: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) TSubclassOf Carver; UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) bool CarvingDisabled; UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) int32 PreviewSeed; UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) FBakeSettings CarverSettings; protected: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) bool SelfActivate; UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, Transient, meta=(AllowPrivateAccess=true)) UCSGPreviewComponent* PreviewComponent; public: ULevelGenerationCarverComponent2(); };