11#include <EMaterialTypes.h>
12#include <IMeshSceneNode.h>
72 scene::IMesh *
mesh =
nullptr;
95 void setExtruded(
const std::string &imagename,
const std::string &overlay_image,
98 bool check_wield_image =
true);
144 const std::string &overlay_name);
Definition texturesource.h:36
Definition wieldmesh.h:34
video::SColor last_colorized
Definition wieldmesh.h:42
bool needColorize(video::SColor target)
Definition wieldmesh.h:61
video::SColor override_color
Definition wieldmesh.h:38
void applyOverride(video::SColor &dest) const
Definition wieldmesh.h:56
ItemPartColor(bool override, video::SColor color)
Definition wieldmesh.h:52
bool override_color_set
Definition wieldmesh.h:45
bool last_colorized_set
Definition wieldmesh.h:46
Definition dynamicshadowsrender.h:39
Definition wieldmesh.h:90
video::SColor m_base_color
Definition wieldmesh.h:131
bool m_trilinear_filter
Definition wieldmesh.h:121
void setColor(video::SColor color)
Definition wieldmesh.cpp:467
WieldMeshSceneNode(scene::ISceneManager *mgr, s32 id=-1)
Definition wieldmesh.cpp:183
ShadowRenderer * m_shadow
Definition wieldmesh.h:138
void setExtruded(const std::string &imagename, const std::string &overlay_image, v3f wield_scale, ITextureSource *tsrc, u8 num_frames)
Definition wieldmesh.cpp:228
scene::IMeshSceneNode * m_meshnode
Definition wieldmesh.h:116
void setItem(const ItemStack &item, Client *client, bool check_wield_image=true)
Definition wieldmesh.cpp:343
virtual void render()
Definition wieldmesh.cpp:509
virtual const aabb3f & getBoundingBox() const
Definition wieldmesh.h:110
scene::IMesh * getMesh()
Definition wieldmesh.h:106
aabb3f m_bounding_box
Definition wieldmesh.h:136
video::E_MATERIAL_TYPE m_material_type
Definition wieldmesh.h:117
void setNodeLightColor(video::SColor color)
Definition wieldmesh.cpp:496
bool m_anisotropic_filter
Definition wieldmesh.h:119
bool m_bilinear_filter
Definition wieldmesh.h:120
virtual ~WieldMeshSceneNode()
Definition wieldmesh.cpp:216
std::vector< ItemPartColor > m_colors
Definition wieldmesh.h:126
void changeToMesh(scene::IMesh *mesh)
Definition wieldmesh.cpp:515
core::aabbox3d< f32 > aabb3f
Definition irr_aabb3d.h:11
core::vector3df v3f
Definition irr_v3d.h:11
Definition activeobjectmgr.cpp:11
Definition clientmap.h:30
Definition clientmap.h:30
Definition wieldmesh.h:71
bool needs_shading
Definition wieldmesh.h:81
std::vector< ItemPartColor > buffer_colors
Definition wieldmesh.h:76
scene::IMesh * mesh
Definition wieldmesh.h:72
Definition inventory.h:19
void getItemMesh(Client *client, const ItemStack &item, ItemMesh *result)
Definition wieldmesh.cpp:530
scene::SMesh * getExtrudedMesh(ITextureSource *tsrc, const std::string &imagename, const std::string &overlay_name)
Definition wieldmesh.cpp:619