Minetest  5.4.0
MapblockMeshGenerator Class Reference

#include <content_mapblock.h>

+ Collaboration diagram for MapblockMeshGenerator:

Classes

struct  NeighborData
 

Public Member Functions

void getSmoothLightFrame ()
 
LightInfo blendLight (const v3f &vertex_pos)
 
video::SColor blendLightColor (const v3f &vertex_pos)
 
video::SColor blendLightColor (const v3f &vertex_pos, const v3f &vertex_normal)
 
void useTile (int index=0, u8 set_flags=MATERIAL_FLAG_CRACK_OVERLAY, u8 reset_flags=0, bool special=false)
 
void getTile (int index, TileSpec *tile)
 
void getTile (v3s16 direction, TileSpec *tile)
 
void getSpecialTile (int index, TileSpec *tile, bool apply_crack=false)
 
void drawQuad (v3f *vertices, const v3s16 &normal=v3s16(0, 0, 0), float vertical_tiling=1.0)
 
void drawCuboid (const aabb3f &box, TileSpec *tiles, int tilecount, const LightInfo *lights, const f32 *txc)
 
void generateCuboidTextureCoords (aabb3f const &box, f32 *coords)
 
void drawAutoLightedCuboid (aabb3f box, const f32 *txc=NULL, TileSpec *tiles=NULL, int tile_count=0)
 
void prepareLiquidNodeDrawing ()
 
void getLiquidNeighborhood ()
 
void calculateCornerLevels ()
 
f32 getCornerLevel (int i, int k)
 
void drawLiquidSides ()
 
void drawLiquidTop ()
 
void drawLiquidBottom ()
 
bool isSameRail (v3s16 dir)
 
void drawPlantlikeQuad (float rotation, float quad_offset=0, bool offset_top_only=false)
 
void drawPlantlike ()
 
void drawFirelikeQuad (float rotation, float opening_angle, float offset_h, float offset_v=0.0)
 
void drawLiquidNode ()
 
void drawGlasslikeNode ()
 
void drawGlasslikeFramedNode ()
 
void drawAllfacesNode ()
 
void drawTorchlikeNode ()
 
void drawSignlikeNode ()
 
void drawPlantlikeNode ()
 
void drawPlantlikeRootedNode ()
 
void drawFirelikeNode ()
 
void drawFencelikeNode ()
 
void drawRaillikeNode ()
 
void drawNodeboxNode ()
 
void drawMeshNode ()
 
void errorUnknownDrawtype ()
 
void drawNode ()
 
 MapblockMeshGenerator (MeshMakeData *input, MeshCollector *output)
 
void generate ()
 
void renderSingle (content_t node, u8 param2=0x00)
 

Public Attributes

MeshMakeDatadata
 
MeshCollectorcollector
 
const NodeDefManagernodedef
 
scene::IMeshManipulator * meshmanip
 
bool enable_mesh_cache
 
v3s16 blockpos_nodes
 
v3s16 p
 
v3f origin
 
MapNode n
 
const ContentFeaturesf
 
LightPair light
 
LightFrame frame
 
video::SColor color
 
TileSpec tile
 
float scale
 
bool top_is_same_liquid
 
bool draw_liquid_bottom
 
TileSpec tile_liquid
 
TileSpec tile_liquid_top
 
content_t c_flowing
 
content_t c_source
 
video::SColor color_liquid_top
 
NeighborData liquid_neighbors [3][3]
 
f32 corner_levels [2][2]
 
int raillike_group
 
PlantlikeStyle draw_style
 
v3f offset
 
int rotate_degree
 
bool random_offset_Y
 
int face_num
 
float plant_height
 

Static Public Attributes

static const std::string raillike_groupname = "connect_to_raillike"
 

Constructor & Destructor Documentation

◆ MapblockMeshGenerator()

MapblockMeshGenerator::MapblockMeshGenerator ( MeshMakeData input,
MeshCollector output 
)

References blockpos_nodes, collector, data, enable_mesh_cache, g_settings, RenderingEngine::get_scene_manager(), Settings::getBool(), MeshMakeData::m_blockpos, MeshMakeData::m_client, MeshMakeData::m_smooth_lighting, MAP_BLOCKSIZE, meshmanip, IGameDef::ndef(), and nodedef.

+ Here is the call graph for this function:

Member Function Documentation

◆ blendLight()

LightInfo MapblockMeshGenerator::blendLight ( const v3f vertex_pos)

References BS, frame, LightFrame::lightsDay, LightFrame::lightsNight, SMOOTH_LIGHTING_OVERSIZE, and LightFrame::sunlight.

Referenced by blendLightColor(), and drawAutoLightedCuboid().

+ Here is the caller graph for this function:

◆ blendLightColor() [1/2]

video::SColor MapblockMeshGenerator::blendLightColor ( const v3f vertex_pos)

References blendLight(), encode_light(), f, light, and ContentFeatures::light_source.

Referenced by drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), drawMeshNode(), and drawQuad().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ blendLightColor() [2/2]

video::SColor MapblockMeshGenerator::blendLightColor ( const v3f vertex_pos,
const v3f vertex_normal 
)

References applyFacesShading(), blendLight(), color, encode_light(), f, light, ContentFeatures::light_source, and MYMAX.

+ Here is the call graph for this function:

◆ calculateCornerLevels()

void MapblockMeshGenerator::calculateCornerLevels ( )

References corner_levels, and getCornerLevel().

Referenced by drawLiquidNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawAllfacesNode()

void MapblockMeshGenerator::drawAllfacesNode ( )

References BS, drawAutoLightedCuboid(), and useTile().

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawAutoLightedCuboid()

void MapblockMeshGenerator::drawAutoLightedCuboid ( aabb3f  box,
const f32 *  txc = NULL,
TileSpec tiles = NULL,
int  tile_count = 0 
)

References blendLight(), data, drawCuboid(), f, generateCuboidTextureCoords(), MeshMakeData::m_smooth_lighting, origin, scale, tile, and ContentFeatures::visual_scale.

Referenced by drawAllfacesNode(), drawFencelikeNode(), drawGlasslikeFramedNode(), and drawNodeboxNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawCuboid()

void MapblockMeshGenerator::drawCuboid ( const aabb3f box,
TileSpec tiles,
int  tilecount,
const LightInfo lights,
const f32 *  txc 
)

References MeshCollector::append(), applyFacesShading(), collector, data, encode_light(), f, light, ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, MYMAX, MYMIN, quad_indices, TileSpec::rotation, and tile.

Referenced by drawAutoLightedCuboid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawFencelikeNode()

void MapblockMeshGenerator::drawFencelikeNode ( )

References blockpos_nodes, BS, data, drawAutoLightedCuboid(), ContentFeatures::drawtype, NodeDefManager::get(), VoxelManipulator::getNodeNoEx(), TileSpec::layers, MeshMakeData::m_vmanip, MATERIAL_FLAG_CRACK, NDT_FENCELIKE, nodedef, p, TileSpec::rotation, tile, and useTile().

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawFirelikeNode()

void MapblockMeshGenerator::drawFirelikeNode ( )

References blockpos_nodes, BS, CONTENT_AIR, CONTENT_IGNORE, D6D_XN, D6D_XP, D6D_YN, D6D_YP, D6D_ZN, D6D_ZP, data, drawFirelikeQuad(), f, g_6dirs, MapNode::getContent(), VoxelManipulator::getNodeNoEx(), MeshMakeData::m_vmanip, n, p, scale, useTile(), and ContentFeatures::visual_scale.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawFirelikeQuad()

void MapblockMeshGenerator::drawFirelikeQuad ( float  rotation,
float  opening_angle,
float  offset_h,
float  offset_v = 0.0 
)

References BS, drawQuad(), and scale.

Referenced by drawFirelikeNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawGlasslikeFramedNode()

void MapblockMeshGenerator::drawGlasslikeFramedNode ( )

References blockpos_nodes, BS, color, CPT2_GLASSLIKE_LIQUID_LEVEL, D6D_XN, D6D_XP, D6D_YN, D6D_YP, D6D_ZN, D6D_ZP, data, dir(), drawAutoLightedCuboid(), drawQuad(), encode_light(), f, FRAMED_EDGE_COUNT, FRAMED_NEIGHBOR_COUNT, g_26dirs, g_6dirs, MapNode::getContent(), VoxelManipulator::getNodeNoEx(), MapNode::getParam2(), getSpecialTile(), getTile(), TileSpec::layers, light, ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, MeshMakeData::m_vmanip, n, p, ContentFeatures::param_type_2, ContentFeatures::special_tiles, TileLayer::texture, and tile.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawGlasslikeNode()

void MapblockMeshGenerator::drawGlasslikeNode ( )

References blockpos_nodes, BS, D6D_XN, D6D_XP, D6D_YN, D6D_YP, D6D_ZN, D6D_ZP, data, dir(), drawQuad(), g_6dirs, MapNode::getContent(), VoxelManipulator::getNodeNoExNoEmerge(), MeshMakeData::m_vmanip, n, p, and useTile().

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawLiquidBottom()

void MapblockMeshGenerator::drawLiquidBottom ( )

References MeshCollector::append(), blendLightColor(), BS, collector, color_liquid_top, data, MeshMakeData::m_smooth_lighting, origin, quad_indices, and tile_liquid_top.

Referenced by drawLiquidNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawLiquidNode()

void MapblockMeshGenerator::drawLiquidNode ( )

References calculateCornerLevels(), draw_liquid_bottom, drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), getLiquidNeighborhood(), prepareLiquidNodeDrawing(), and top_is_same_liquid.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawLiquidSides()

void MapblockMeshGenerator::drawLiquidSides ( )

References MeshCollector::append(), blendLightColor(), BS, collector, color, MapblockMeshGenerator::NeighborData::content, corner_levels, data, NodeDefManager::get(), MapblockMeshGenerator::NeighborData::is_same_liquid, liquid_neighbors, MeshMakeData::m_smooth_lighting, nodedef, origin, quad_indices, ContentFeatures::solidness, tile_liquid, top_is_same_liquid, and MapblockMeshGenerator::NeighborData::top_is_same_liquid.

Referenced by drawLiquidNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawLiquidTop()

void MapblockMeshGenerator::drawLiquidTop ( )

References MeshCollector::append(), blendLightColor(), blockpos_nodes, BS, collector, color_liquid_top, corner_levels, data, MeshMakeData::m_smooth_lighting, origin, p, quad_indices, and tile_liquid_top.

Referenced by drawLiquidNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawMeshNode()

void MapblockMeshGenerator::drawMeshNode ( )

References MeshCollector::append(), blendLightColor(), cloneMesh(), collector, color, CPT2_COLORED_FACEDIR, CPT2_COLORED_WALLMOUNTED, CPT2_FACEDIR, CPT2_WALLMOUNTED, data, enable_mesh_cache, f, MapNode::getFaceDir(), MapNode::getWallMounted(), ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, ContentFeatures::mesh_ptr, meshmanip, n, nodedef, origin, ContentFeatures::param_type_2, recalculateBoundingBox(), rotateMeshBy6dFacedir(), tile, useTile(), and wallmounted_to_facedir.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawNode()

void MapblockMeshGenerator::drawNode ( )

◆ drawNodeboxNode()

void MapblockMeshGenerator::drawNodeboxNode ( )

References blockpos_nodes, data, dir(), drawAutoLightedCuboid(), f, MapNode::getNodeBoxes(), VoxelManipulator::getNodeNoEx(), getTile(), MeshMakeData::m_vmanip, n, ContentFeatures::node_box, NODEBOX_CONNECTED, NodeDefManager::nodeboxConnects(), nodedef, p, and NodeBox::type.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawPlantlike()

void MapblockMeshGenerator::drawPlantlike ( )

References BS, CPT2_DEGROTATE, CPT2_LEVELED, CPT2_MESHOPTIONS, draw_style, drawPlantlikeQuad(), f, face_num, MO_BIT_RANDOM_OFFSET, MO_BIT_RANDOM_OFFSET_Y, MO_BIT_SCALE_SQRT2, MO_MASK_STYLE, n, PseudoRandom::next(), offset, p, MapNode::param2, ContentFeatures::param_type_2, plant_height, PLANT_STYLE_CROSS, PLANT_STYLE_CROSS2, PLANT_STYLE_HASH, PLANT_STYLE_HASH2, PLANT_STYLE_STAR, random_offset_Y, rotate_degree, scale, and ContentFeatures::visual_scale.

Referenced by drawPlantlikeNode(), and drawPlantlikeRootedNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawPlantlikeNode()

void MapblockMeshGenerator::drawPlantlikeNode ( )

References drawPlantlike(), and useTile().

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawPlantlikeQuad()

void MapblockMeshGenerator::drawPlantlikeQuad ( float  rotation,
float  quad_offset = 0,
bool  offset_top_only = false 
)

References BS, drawQuad(), face_num, PseudoRandom::next(), offset, p, plant_height, random_offset_Y, rotate_degree, and scale.

Referenced by drawPlantlike().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawPlantlikeRootedNode()

void MapblockMeshGenerator::drawPlantlikeRootedNode ( )

References blockpos_nodes, BS, data, drawPlantlike(), getInteriorLight(), VoxelManipulator::getNodeNoEx(), getSmoothLightFrame(), light, MeshMakeData::m_smooth_lighting, MeshMakeData::m_vmanip, MATERIAL_FLAG_CRACK_OVERLAY, nodedef, origin, p, and useTile().

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawQuad()

void MapblockMeshGenerator::drawQuad ( v3f vertices,
const v3s16 normal = v3s16(0, 0, 0),
float  vertical_tiling = 1.0 
)

References MeshCollector::append(), applyFacesShading(), blendLightColor(), collector, color, data, f, ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, origin, quad_indices, and tile.

Referenced by drawFirelikeQuad(), drawGlasslikeFramedNode(), drawGlasslikeNode(), drawPlantlikeQuad(), drawRaillikeNode(), drawSignlikeNode(), and drawTorchlikeNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawRaillikeNode()

void MapblockMeshGenerator::drawRaillikeNode ( )

References BS, dir(), drawQuad(), NodeDefManager::get(), ContentFeatures::getGroup(), isSameRail(), MATERIAL_FLAG_BACKFACE_CULLING, MATERIAL_FLAG_CRACK_OVERLAY, n, nodedef, offset, raillike_group, raillike_groupname, and useTile().

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawSignlikeNode()

void MapblockMeshGenerator::drawSignlikeNode ( )

References BS, drawQuad(), DWM_XN, DWM_XP, DWM_YN, DWM_YP, DWM_ZN, DWM_ZP, f, MapNode::getWallMounted(), MATERIAL_FLAG_BACKFACE_CULLING, MATERIAL_FLAG_CRACK_OVERLAY, n, nodedef, offset, useTile(), and ContentFeatures::visual_scale.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawTorchlikeNode()

void MapblockMeshGenerator::drawTorchlikeNode ( )

References BS, drawQuad(), DWM_XN, DWM_XP, DWM_YN, DWM_YP, DWM_ZN, DWM_ZP, f, MapNode::getWallMounted(), MATERIAL_FLAG_BACKFACE_CULLING, MATERIAL_FLAG_CRACK_OVERLAY, n, nodedef, useTile(), and ContentFeatures::visual_scale.

Referenced by drawNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ errorUnknownDrawtype()

void MapblockMeshGenerator::errorUnknownDrawtype ( )

References ContentFeatures::drawtype, f, FATAL_ERROR, and infostream.

Referenced by drawNode().

+ Here is the caller graph for this function:

◆ generate()

void MapblockMeshGenerator::generate ( )

References blockpos_nodes, data, drawNode(), f, NodeDefManager::get(), VoxelManipulator::getNodeNoEx(), MeshMakeData::m_vmanip, MAP_BLOCKSIZE, n, nodedef, and p.

Referenced by MapBlockMesh::MapBlockMesh().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generateCuboidTextureCoords()

void MapblockMeshGenerator::generateCuboidTextureCoords ( aabb3f const &  box,
f32 *  coords 
)

References BS.

Referenced by drawAutoLightedCuboid().

+ Here is the caller graph for this function:

◆ getCornerLevel()

f32 MapblockMeshGenerator::getCornerLevel ( int  i,
int  k 
)

References BS, c_flowing, c_source, MapblockMeshGenerator::NeighborData::content, CONTENT_AIR, MapblockMeshGenerator::NeighborData::level, liquid_neighbors, and MapblockMeshGenerator::NeighborData::top_is_same_liquid.

Referenced by calculateCornerLevels().

+ Here is the caller graph for this function:

◆ getLiquidNeighborhood()

void MapblockMeshGenerator::getLiquidNeighborhood ( )

References blockpos_nodes, BS, c_flowing, c_source, MapblockMeshGenerator::NeighborData::content, CONTENT_IGNORE, data, NodeDefManager::get(), MapNode::getContent(), VoxelManipulator::getNodeNoEx(), MapblockMeshGenerator::NeighborData::is_same_liquid, MapblockMeshGenerator::NeighborData::level, LIQUID_LEVEL_MASK, LIQUID_LEVEL_MAX, liquid_neighbors, ContentFeatures::liquid_range, MeshMakeData::m_vmanip, nodedef, p, MapNode::param2, rangelim, and MapblockMeshGenerator::NeighborData::top_is_same_liquid.

Referenced by drawLiquidNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSmoothLightFrame()

void MapblockMeshGenerator::getSmoothLightFrame ( )

References blockpos_nodes, data, frame, getSmoothLightTransparent(), light, light_dirs, LightPair::lightDay, LightPair::lightNight, LightFrame::lightsDay, LightFrame::lightsNight, p, and LightFrame::sunlight.

Referenced by drawNode(), and drawPlantlikeRootedNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSpecialTile()

void MapblockMeshGenerator::getSpecialTile ( int  index,
TileSpec tile,
bool  apply_crack = false 
)

References TileLayer::color, f, MapNode::getColor(), TileLayer::has_color, TileSpec::layers, MATERIAL_FLAG_CRACK, TileLayer::material_flags, n, ContentFeatures::special_tiles, TileLayer::texture_id, and tile.

Referenced by drawGlasslikeFramedNode(), prepareLiquidNodeDrawing(), and useTile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTile() [1/2]

void MapblockMeshGenerator::getTile ( int  index,
TileSpec tile 
)

References data, getNodeTileN(), n, p, and tile.

Referenced by drawGlasslikeFramedNode(), drawNodeboxNode(), and useTile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTile() [2/2]

void MapblockMeshGenerator::getTile ( v3s16  direction,
TileSpec tile 
)

References data, getNodeTile(), n, p, and tile.

+ Here is the call graph for this function:

◆ isSameRail()

bool MapblockMeshGenerator::isSameRail ( v3s16  dir)

References blockpos_nodes, data, dir(), ContentFeatures::drawtype, NodeDefManager::get(), MapNode::getContent(), ContentFeatures::getGroup(), VoxelManipulator::getNodeNoEx(), MeshMakeData::m_vmanip, n, NDT_RAILLIKE, nodedef, p, raillike_group, and raillike_groupname.

Referenced by drawRaillikeNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ prepareLiquidNodeDrawing()

void MapblockMeshGenerator::prepareLiquidNodeDrawing ( )

References blockpos_nodes, c_flowing, c_source, color, color_liquid_top, CPT_LIGHT, data, decode_light(), draw_liquid_bottom, encode_light(), f, NodeDefManager::get(), MapNode::getContent(), getInteriorLight(), VoxelManipulator::getNodeNoEx(), getSpecialTile(), light, ContentFeatures::light_source, LightPair::lightDay, LightPair::lightNight, ContentFeatures::liquid_alternative_flowing_id, ContentFeatures::liquid_alternative_source_id, MeshMakeData::m_smooth_lighting, MeshMakeData::m_vmanip, nodedef, p, ContentFeatures::param_type, ContentFeatures::solidness, tile_liquid, tile_liquid_top, and top_is_same_liquid.

Referenced by drawLiquidNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderSingle()

void MapblockMeshGenerator::renderSingle ( content_t  node,
u8  param2 = 0x00 
)

References drawNode(), f, NodeDefManager::get(), n, nodedef, and p.

Referenced by createSpecialNodeMesh().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ useTile()

void MapblockMeshGenerator::useTile ( int  index = 0,
u8  set_flags = MATERIAL_FLAG_CRACK_OVERLAY,
u8  reset_flags = 0,
bool  special = false 
)

References color, data, encode_light(), f, getSpecialTile(), getTile(), TileSpec::layers, light, ContentFeatures::light_source, MeshMakeData::m_crack_pos_relative, MeshMakeData::m_smooth_lighting, p, and tile.

Referenced by drawAllfacesNode(), drawFencelikeNode(), drawFirelikeNode(), drawGlasslikeNode(), drawMeshNode(), drawPlantlikeNode(), drawPlantlikeRootedNode(), drawRaillikeNode(), drawSignlikeNode(), and drawTorchlikeNode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ blockpos_nodes

◆ c_flowing

content_t MapblockMeshGenerator::c_flowing

◆ c_source

content_t MapblockMeshGenerator::c_source

◆ collector

◆ color

◆ color_liquid_top

video::SColor MapblockMeshGenerator::color_liquid_top

◆ corner_levels

f32 MapblockMeshGenerator::corner_levels[2][2]

◆ data

◆ draw_liquid_bottom

bool MapblockMeshGenerator::draw_liquid_bottom

◆ draw_style

PlantlikeStyle MapblockMeshGenerator::draw_style

Referenced by drawPlantlike().

◆ enable_mesh_cache

bool MapblockMeshGenerator::enable_mesh_cache

◆ f

◆ face_num

int MapblockMeshGenerator::face_num

Referenced by drawPlantlike(), and drawPlantlikeQuad().

◆ frame

LightFrame MapblockMeshGenerator::frame

Referenced by blendLight(), and getSmoothLightFrame().

◆ light

◆ liquid_neighbors

NeighborData MapblockMeshGenerator::liquid_neighbors[3][3]

◆ meshmanip

scene::IMeshManipulator* MapblockMeshGenerator::meshmanip

◆ n

◆ nodedef

◆ offset

v3f MapblockMeshGenerator::offset

◆ origin

◆ p

◆ plant_height

float MapblockMeshGenerator::plant_height

Referenced by drawPlantlike(), and drawPlantlikeQuad().

◆ raillike_group

int MapblockMeshGenerator::raillike_group

Referenced by drawRaillikeNode(), and isSameRail().

◆ raillike_groupname

const std::string MapblockMeshGenerator::raillike_groupname = "connect_to_raillike"
static

Referenced by drawRaillikeNode(), and isSameRail().

◆ random_offset_Y

bool MapblockMeshGenerator::random_offset_Y

Referenced by drawPlantlike(), and drawPlantlikeQuad().

◆ rotate_degree

int MapblockMeshGenerator::rotate_degree

Referenced by drawPlantlike(), and drawPlantlikeQuad().

◆ scale

float MapblockMeshGenerator::scale

◆ tile

◆ tile_liquid

TileSpec MapblockMeshGenerator::tile_liquid

◆ tile_liquid_top

TileSpec MapblockMeshGenerator::tile_liquid_top

◆ top_is_same_liquid

bool MapblockMeshGenerator::top_is_same_liquid

The documentation for this class was generated from the following files: