-
Notifications
You must be signed in to change notification settings - Fork 25
/
TestActor.h
40 lines (26 loc) · 984 Bytes
/
TestActor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Actor.h"
#include "NoiseCalculator.h"
#include "TestActor.generated.h"
UCLASS()
class POLYVOX_TEST_API ATestActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
ATestActor();
UFUNCTION(Category = "Voxel Terrain", BlueprintCallable)
ATerrainGenManager* multi_chunkgen(FVector loc);
UPROPERTY(Category = "Voxel Terrain", EditAnywhere)
float sleep_seconds_first = 0.065f;
UPROPERTY(Category = "Voxel Terrain", EditAnywhere)
float sleep_seconds_sec = 0.065f;
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
UPROPERTY(Category = "Voxel Terrain", BlueprintReadWrite, EditAnywhere) TArray<UMaterialInterface*> TerrainMaterial;
};