#include <wieldmesh.h>
◆ WieldMeshSceneNode()
WieldMeshSceneNode::WieldMeshSceneNode |
( |
scene::ISceneManager * | mgr, |
|
|
s32 | id = -1 ) |
References ShadowRenderer::addNodeToShadowList(), ExtrusionMeshCache::createCube(), g_extrusion_mesh_cache, g_settings, RenderingEngine::get_shadow_renderer(), Settings::getBool(), m_anisotropic_filter, m_bilinear_filter, m_meshnode, m_shadow, and m_trilinear_filter.
◆ ~WieldMeshSceneNode()
WieldMeshSceneNode::~WieldMeshSceneNode |
( |
| ) |
|
|
virtual |
◆ changeToMesh()
void WieldMeshSceneNode::changeToMesh |
( |
scene::IMesh * | mesh | ) |
|
|
private |
◆ getBoundingBox()
virtual const aabb3f & WieldMeshSceneNode::getBoundingBox |
( |
| ) |
const |
|
inlinevirtual |
◆ getMesh()
scene::IMesh * WieldMeshSceneNode::getMesh |
( |
| ) |
|
|
inline |
◆ render()
void WieldMeshSceneNode::render |
( |
| ) |
|
|
virtual |
◆ setColor()
void WieldMeshSceneNode::setColor |
( |
video::SColor | color | ) |
|
◆ setCube()
◆ setExtruded()
void WieldMeshSceneNode::setExtruded |
( |
const std::string & | imagename, |
|
|
const std::string & | overlay_image, |
|
|
v3f | wield_scale, |
|
|
ITextureSource * | tsrc, |
|
|
u8 | num_frames ) |
References changeToMesh(), cloneMesh(), cloneMeshBuffer(), ExtrusionMeshCache::create(), g_extrusion_mesh_cache, ITextureSource::getTexture(), m_anisotropic_filter, m_bilinear_filter, m_material_type, m_meshnode, m_trilinear_filter, setMaterialFilters(), and WIELD_SCALE_FACTOR_EXTRUDED.
Referenced by setItem().
◆ setItem()
void WieldMeshSceneNode::setItem |
( |
const ItemStack & | item, |
|
|
Client * | client, |
|
|
bool | check_wield_image = true ) |
References BS, changeToMesh(), TileLayer::color, createSpecialNodeMesh(), ContentFeatures::drawtype, NodeDefManager::get(), ItemStack::getDefinition(), NodeDefManager::getId(), ItemStack::getInventoryImage(), ItemStack::getInventoryOverlay(), IItemDefManager::getItemstackColor(), IShaderSource::getShader(), IShaderSource::getShaderInfo(), ITextureSource::getTextureName(), ItemStack::getWieldImage(), ItemStack::getWieldOverlay(), ItemStack::getWieldScale(), TileLayer::has_color, ITEM_NODE, m_anisotropic_filter, m_base_color, m_bilinear_filter, m_colors, m_material_type, m_meshnode, m_trilinear_filter, ShaderInfo::material, ItemDefinition::name, NDT_AIRLIKE, NDT_ALLFACES, NDT_FLOWINGLIQUID, NDT_LIQUID, NDT_NORMAL, NDT_PLANTLIKE, NDT_PLANTLIKE_ROOTED, NDT_RAILLIKE, NDT_SIGNLIKE, NDT_TORCHLIKE, ContentFeatures::needsBackfaceCulling(), ItemDefinition::place_param2, setColor(), setCube(), setExtruded(), setMaterialFilters(), MapNode::setParam2(), TILE_MATERIAL_BASIC, ItemDefinition::type, ContentFeatures::visual_scale, ItemDefinition::wield_scale, and WIELD_SCALE_FACTOR.
Referenced by Camera::Camera(), GenericCAO::addToScene(), and Camera::step().
◆ setNodeLightColor()
void WieldMeshSceneNode::setNodeLightColor |
( |
video::SColor | color | ) |
|
◆ m_anisotropic_filter
bool WieldMeshSceneNode::m_anisotropic_filter |
|
private |
◆ m_base_color
video::SColor WieldMeshSceneNode::m_base_color |
|
private |
The base color of this mesh. This is the default for all mesh buffers.
Referenced by setColor(), and setItem().
◆ m_bilinear_filter
bool WieldMeshSceneNode::m_bilinear_filter |
|
private |
◆ m_bounding_box
aabb3f WieldMeshSceneNode::m_bounding_box |
|
private |
◆ m_colors
◆ m_material_type
video::E_MATERIAL_TYPE WieldMeshSceneNode::m_material_type |
|
private |
◆ m_meshnode
scene::IMeshSceneNode* WieldMeshSceneNode::m_meshnode = nullptr |
|
private |
◆ m_shadow
◆ m_trilinear_filter
bool WieldMeshSceneNode::m_trilinear_filter |
|
private |
The documentation for this class was generated from the following files: