#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 | ) |
|
◆ setExtruded() [1/2]
◆ setExtruded() [2/2]
| void WieldMeshSceneNode::setExtruded |
( |
video::ITexture * | base, |
|
|
video::ITexture * | overlay, |
|
|
v3f | wield_scale ) |
|
private |
References changeToMesh(), cloneMeshBuffer(), cloneStaticMesh(), ExtrusionMeshCache::create(), g_extrusion_mesh_cache, m_anisotropic_filter, m_bilinear_filter, m_material_type, m_meshnode, m_trilinear_filter, setMaterialFilters(), TEXTURE_FILTER_MIN_SIZE, and WIELD_SCALE_FACTOR_EXTRUDED.
◆ setItem()
| void WieldMeshSceneNode::setItem |
( |
const ItemStack & | item, |
|
|
Client * | client, |
|
|
bool | check_wield_image = true ) |
References ContentFeatures::alpha, ItemImageDef::animation, BS, changeToMesh(), createAnimationFrames(), createGenericNodeMesh(), ContentFeatures::drawtype, NodeDefManager::get(), getAdHocNodeShader(), ItemStack::getDefinition(), NodeDefManager::getId(), ItemVisualsManager::getInventoryAnimation(), ItemVisualsManager::getInventoryOverlayAnimation(), ItemVisualsManager::getInventoryOverlayTexture(), ItemVisualsManager::getInventoryTexture(), ItemVisualsManager::getItemstackColor(), IShaderSource::getShader(), IShaderSource::getShaderInfo(), ITextureSource::getTexture(), ItemStack::getWieldImage(), ItemStack::getWieldOverlay(), ItemStack::getWieldScale(), ITEM_NODE, TileSpec::layers, m_anisotropic_filter, m_base_color, m_bilinear_filter, m_buffer_info, m_material_type, m_meshnode, m_trilinear_filter, m_wield_image_frames, m_wield_overlay_frames, ShaderInfo::material, ItemDefinition::name, ItemImageDef::name, NDT_AIRLIKE, NDT_FLOWINGLIQUID, NDT_NORMAL, NDT_PLANTLIKE, NDT_PLANTLIKE_ROOTED, NDT_RAILLIKE, NDT_SIGNLIKE, NDT_TORCHLIKE, ItemDefinition::place_param2, setColor(), setExtruded(), setMaterialFilters(), MapNode::setParam2(), NodeVisuals::special_tiles, TILE_MATERIAL_BASIC, ContentFeatures::tiledef, ContentFeatures::tiledef_overlay, ContentFeatures::tiledef_special, NodeVisuals::tiles, ItemDefinition::type, ContentFeatures::visual_scale, and WIELD_SCALE_FACTOR.
Referenced by Camera::Camera(), GenericCAO::addToScene(), and Camera::step().
◆ setLightColorAndAnimation()
| void WieldMeshSceneNode::setLightColorAndAnimation |
( |
video::SColor | color, |
|
|
float | animation_time ) |
◆ 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
| const aabb3f WieldMeshSceneNode::m_bounding_box {{0, 0, 0}} |
|
private |
◆ m_buffer_info
◆ 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 |
◆ m_wield_image_frames
| std::vector<FrameSpec> WieldMeshSceneNode::m_wield_image_frames |
|
private |
◆ m_wield_overlay_frames
| std::vector<FrameSpec> WieldMeshSceneNode::m_wield_overlay_frames |
|
private |
The documentation for this class was generated from the following files: