Agrarsense
AgrarsenseConsoleCommands.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "CoreMinimal.h"
9#include "UObject/Object.h"
10#include "HAL/IConsoleManager.h"
11
12#include "AgrarsenseConsoleCommands.generated.h"
13
14UCLASS()
15class AGRARSENSE_API UAgrarsenseConsoleCommands : public UObject
16{
17
18 GENERATED_BODY()
19
20public:
21
23
25
26private:
27
28 TArray<TUniquePtr<FAutoConsoleCommand>> ConsoleCommands;
29
30 void ToggleWorldRendering();
31
32 void ToggleInstancedRendering();
33
34 void SetInstancedActorsVisibilityEditor(bool Visible);
35
36 void SetInstacedTreesVisibilityEditor(bool Visible);
37
38};
TArray< TUniquePtr< FAutoConsoleCommand > > ConsoleCommands