21 lines
520 B
C++
21 lines
520 B
C++
// Copyright 2020 Phyronnaz
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "VoxelGeneratedWorldGeneratorsIncludes.h"
|
|
#include "VG_Example_Craters.generated.h"
|
|
|
|
UCLASS(Blueprintable)
|
|
class UVG_Example_Craters : public UVoxelGraphGeneratorHelper
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
//
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="", meta=(DisplayName="Radius"))
|
|
float Radius = 200.0;
|
|
|
|
UVG_Example_Craters();
|
|
virtual TVoxelSharedRef<FVoxelTransformableGeneratorInstance> GetTransformableInstance() override;
|
|
};
|