1#include "TerrainComponent.h"
7void Cogs::Core::TerrainComponent::registerType()
16 TypeDatabase::createType<TerrainComponent>().setBase<Component>().setFields(fields);
Field definition describing a single data member of a data structure.
Contains reflection support.
TextureHandle customTexture
Handle to custom texture, made available in custom shaders as "customTexture".
MaterialInstanceHandle depthMaterial
The terrain material instance used for the depth buffer.
SamplerState::AddressMode addressMode
Address mode for custom texture.
MaterialInstanceHandle material
The terrain material instance.
Represents an unique name.