22#include "SMaterialLayer.h"
60void setMeshColor(scene::IMesh *mesh,
const video::SColor &color);
87 const video::SColor &colorX,
88 const video::SColor &colorY,
89 const video::SColor &colorZ);
92 const video::SColor &color);
116scene::SMesh*
cloneMesh(scene::IMesh *src_mesh);
125 const f32 *uv_coords = NULL,
float expand = 0);
143void setMaterialFilters(video::SMaterialLayer &tex,
bool bilinear,
bool trilinear,
bool anisotropic);
core::vector2d< f32 > v2f
Definition irr_v2d.h:26
core::vector3df v3f
Definition irr_v3d.h:26
scene::SMesh * cloneMesh(scene::IMesh *src_mesh)
Definition mesh.cpp:393
void setMeshColor(scene::IMesh *mesh, const video::SColor &color)
Definition mesh.cpp:190
void colorizeMeshBuffer(scene::IMeshBuffer *buf, const video::SColor *buffercolor)
Definition mesh.cpp:223
void setMeshBufferColor(scene::IMeshBuffer *buf, const video::SColor &color)
Definition mesh.cpp:174
void rotateMeshXYby(scene::IMesh *mesh, f64 degrees)
Definition mesh.cpp:286
scene::IAnimatedMesh * createCubeMesh(v3f scale)
Definition mesh.cpp:56
scene::IMeshBuffer * cloneMeshBuffer(scene::IMeshBuffer *mesh_buffer)
Definition mesh.cpp:356
void setAnimatedMeshColor(scene::IAnimatedMeshSceneNode *node, const video::SColor &color)
Definition mesh.cpp:183
void setMaterialFilters(video::SMaterialLayer &tex, bool bilinear, bool trilinear, bool anisotropic)
Definition mesh.cpp:509
void setMeshBufferTextureCoords(scene::IMeshBuffer *buf, const v2f *uv, u32 count)
Definition mesh.cpp:200
void applyFacesShading(video::SColor &color, const v3f &normal)
Definition mesh.cpp:36
void translateMesh(scene::IMesh *mesh, v3f vec)
Definition mesh.cpp:146
void rotateMeshXZby(scene::IMesh *mesh, f64 degrees)
Definition mesh.cpp:291
void rotateMeshYZby(scene::IMesh *mesh, f64 degrees)
Definition mesh.cpp:296
void rotateMeshBy6dFacedir(scene::IMesh *mesh, int facedir)
Definition mesh.cpp:301
void setMeshColorByNormalXYZ(scene::IMesh *mesh, const video::SColor &colorX, const video::SColor &colorY, const video::SColor &colorZ)
Definition mesh.cpp:238
bool checkMeshNormals(scene::IMesh *mesh)
Definition mesh.cpp:334
void recalculateBoundingBox(scene::IMesh *src_mesh)
Definition mesh.cpp:319
scene::IMesh * convertNodeboxesToMesh(const std::vector< aabb3f > &boxes, const f32 *uv_coords=NULL, float expand=0)
Definition mesh.cpp:406
void scaleMesh(scene::IMesh *mesh, v3f scale)
Definition mesh.cpp:118
void setMeshColorByNormal(scene::IMesh *mesh, const v3f &normal, const video::SColor &color)
Definition mesh.cpp:259