Kohi Game Engine
terrain Struct Reference

#include <terrain.h>

Data Fields

identifier id
 
u32 generation
 
terrain_state state
 
kname name
 
kasset_heightmap_terrainasset
 
kname material_name
 
u32 tile_count_x
 
u32 tile_count_z
 
f32 tile_scale_x
 
f32 tile_scale_z
 
f32 scale_y
 
u32 chunk_size
 
u32 vertex_data_length
 
terrain_vertex_datavertex_datas
 
extents_3d extents
 
vec3 origin
 
u32 chunk_count
 
terrain_chunkchunks
 
u8 lod_count
 
u32 material_count
 
knamematerial_names
 

Field Documentation

◆ asset

◆ chunk_count

u32 chunk_count

◆ chunk_size

u32 chunk_size

◆ chunks

terrain_chunk* chunks

◆ extents

extents_3d extents

◆ generation

u32 generation

◆ id

◆ lod_count

u8 lod_count

◆ material_count

u32 material_count

◆ material_name

kname material_name

◆ material_names

kname* material_names

◆ name

kname name

◆ origin

vec3 origin

◆ scale_y

f32 scale_y

◆ state

◆ tile_count_x

u32 tile_count_x

◆ tile_count_z

u32 tile_count_z

◆ tile_scale_x

f32 tile_scale_x

◆ tile_scale_z

f32 tile_scale_z

◆ vertex_data_length

u32 vertex_data_length

◆ vertex_datas

terrain_vertex_data* vertex_datas

The documentation for this struct was generated from the following file: