Skip to content

Commit

Permalink
Bind material::get/set_region_size
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Oct 18, 2023
1 parent b422364 commit 6aba3c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/terrain_3d_material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,8 @@ void Terrain3DMaterial::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_shader_params", "dict"), &Terrain3DMaterial::set_shader_params);
ClassDB::bind_method(D_METHOD("get_shader_params"), &Terrain3DMaterial::get_shader_params);

ClassDB::bind_method(D_METHOD("set_region_size"), &Terrain3DMaterial::set_region_size);
ClassDB::bind_method(D_METHOD("get_region_size"), &Terrain3DMaterial::get_region_size);
ClassDB::bind_method(D_METHOD("get_region_blend_map"), &Terrain3DMaterial::get_region_blend_map);

ClassDB::bind_method(D_METHOD("set_world_noise_enabled", "enabled"), &Terrain3DMaterial::set_world_noise_enabled);
Expand Down

0 comments on commit 6aba3c7

Please sign in to comment.