Class RidgeHexGrid
Defined in File ridge_hex_grid.h
Inheritance Relationships
Base Types
public sota::HexGrid(Class HexGrid)public sota::RidgeBased(Class RidgeBased)
Derived Types
public sota::HexagonalRidgeHexGrid(Class HexagonalRidgeHexGrid)public sota::RectRidgeHexGrid(Class RectRidgeHexGrid)
Class Documentation
-
class RidgeHexGrid : public sota::HexGrid, public sota::RidgeBased
Subclassed by sota::HexagonalRidgeHexGrid, sota::RectRidgeHexGrid
Public Functions
-
RidgeHexGrid()
-
void set_terraformer(const Ref<Terraformer> p_terraformer)
-
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_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
-
Neighbours get_neighbours(BiomeTile *biome_tile, std::optional<const GroupOfRidgeMeshes*> group)
Public Members
-
std::vector<Ref<MatrixProcessor>> _tile_processors
Protected Functions
-
inline void process_tile(int row, int col)
-
virtual void init() override
-
void calculate_geometry()
-
virtual void make_tiles() override
Protected Static Functions
-
static void _bind_methods()
-
RidgeHexGrid()