Register the isolevel channel to the properties for the blocky chunk.

This commit is contained in:
Relintai 2021-04-16 22:14:38 +02:00
parent 165a1e9fb9
commit 828566f001

View File

@ -36,6 +36,7 @@ void TerraChunkBlocky::_setup_channels() {
void TerraChunkBlocky::_bind_methods() {
ADD_PROPERTYI(PropertyInfo(Variant::POOL_BYTE_ARRAY, "data_channel"), "channel_set_compressed", "channel_get_compressed", 0);
ADD_PROPERTYI(PropertyInfo(Variant::POOL_BYTE_ARRAY, "isolevel_channel"), "channel_set_compressed", "channel_get_compressed", 1);
//ClassDB::bind_method(D_METHOD("get_channel_compressed", "channel_index"), &TerraChunk::get_channel_compressed);
//ClassDB::bind_method(D_METHOD("set_channel_compressed", "channel_index", "array"), &TerraChunk::set_channel_compressed);