#include "voxel_node.h" #include "../generators/voxel_generator.h" #include "../meshers/voxel_mesher.h" #include "../streams/voxel_stream.h" void VoxelNode::set_mesher(Ref mesher) { // Implemented in subclasses } Ref VoxelNode::get_mesher() const { // Implemented in subclasses return Ref(); } void VoxelNode::set_stream(Ref stream) { // Implemented in subclasses } Ref VoxelNode::get_stream() const { // Implemented in subclasses return Ref(); } void VoxelNode::set_generator(Ref generator) { // Implemented in subclasses } Ref VoxelNode::get_generator() const { // Implemented in subclasses return Ref(); } void VoxelNode::restart_stream() { // Not implemented } void VoxelNode::remesh_all_blocks() { // Not implemented } String VoxelNode::get_configuration_warning() const { Ref mesher = get_mesher(); Ref stream = get_stream(); Ref generator = get_generator(); if (mesher.is_null()) { return TTR("This node has no mesher assigned, it wont produce any mesh visuals. " "You can assign one on the `mesher` property."); } if (stream.is_valid()) { Ref