vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
terrain.h
1#pragma once
2
3#include "core/reflect.h"
4#include "resource/asset/terrain_asset.h"
5
6namespace Vkm::Engine {
7
15struct Terrain {
16 TerrainHandle terrain;
18 bool castShadows = true;
19};
20
21} // namespace Vkm::Engine
22
23VKM_REFLECT_BEGIN(::Vkm::Engine::Terrain)
24 VKM_F(terrain)
25 VKM_F(castShadows)
26VKM_REFLECT_END()
A terrain in the world: its asset, centred on the entity.
Definition terrain.h:15
bool castShadows
Whether its ground casts shadows, and its plants where their layer does.
Definition terrain.h:18