Class RidgeHexGrid

Inheritance Relationships

Base Types

Derived Types

Class Documentation

class RidgeHexGrid : public sota::HexGrid, public sota::RidgeBased

Subclassed by sota::HexagonalRidgeHexGrid, sota::RectRidgeHexGrid

Public Functions

RidgeHexGrid()
void set_biomes_noise(const Ref<FastNoiseLite> p_biomes_noise)
Ref<FastNoiseLite> get_biomes_noise() const
void set_hex_noise(const Ref<FastNoiseLite> p_hex_noise)
Ref<FastNoiseLite> get_hex_noise() const
void set_ridge_noise(const Ref<FastNoiseLite> p_ridge_noise)
Ref<FastNoiseLite> get_ridge_noise() const
void set_plain_texture(const Ref<Texture> p_texture)
Ref<Texture> get_plain_texture() const
void set_hill_texture(const Ref<Texture> p_texture)
Ref<Texture> get_hill_texture() const
void set_water_texture(const Ref<Texture> p_texture)
Ref<Texture> get_water_texture() const
void set_mountain_texture(const Ref<Texture> p_texture)
Ref<Texture> get_mountain_texture() const
void set_ridge_variation_min_bound(float p_ridge_variation_min_bound)
float get_ridge_variation_min_bound() const
void set_ridge_variation_max_bound(float p_ridge_variation_max_bound)
float get_ridge_variation_max_bound() const
void set_ridge_top_offset(float p_ridge_top_offset)
float get_ridge_top_offset() const
void set_ridge_bottom_offset(float p_ridge_bottom_offset)
float get_ridge_bottom_offset() const
void set_biomes_hill_level_ratio(float p_biomes_hill_level_ratio)
float get_biomes_hill_level_ratio() const
void set_biomes_plain_hill_gain(float p_biomes_plain_hill_gain)
float get_biomes_plain_hill_gain() const
void set_smooth_normals(bool p_smooth_normals)
bool get_smooth_normals() const

Protected Functions

virtual void init() override
virtual void init_hexmesh() override

Protected Attributes

DiscreteVertexToDistance _distance_map

Protected Static Functions

static void _bind_methods()