37 lines
1.2 KiB
C++
Executable file
37 lines
1.2 KiB
C++
Executable file
#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<ACSGBuilder> 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();
|
|
};
|
|
|