17 #ifndef MESHSCENENODE_H
18 #define MESHSCENENODE_H
20 #include <IMeshSceneNode.h>
29 Model *parent, irr::scene::IMesh *mesh,
30 const irr::core::vector3df &position = irr::core::vector3df(0, 0, 0),
31 const irr::core::vector3df &rotation = irr::core::vector3df(0, 0, 0),
32 irr::video::ITexture *texture = NULL, irr::s32
id = -1);
35 irr::scene::ISceneNode *parent, irr::scene::IMesh *mesh,
36 const irr::core::vector3df &position = irr::core::vector3df(0, 0, 0),
37 const irr::core::vector3df &rotation = irr::core::vector3df(0, 0, 0),
38 irr::video::ITexture *texture = NULL, irr::s32
id = -1);
40 virtual void OnRegisterSceneNode(
void);
41 virtual void render(
void);
42 virtual const irr::core::aabbox3d<irr::f32> &getBoundingBox()
const {
45 virtual irr::u32 getMaterialCount(
void)
const {
return 1; }
46 virtual irr::video::SMaterial &getMaterial(irr::u32 i);
47 virtual void setMesh(irr::scene::IMesh *ptr);
48 virtual irr::scene::IMesh *getMesh(
void);
49 virtual void setReadOnlyMaterials(
bool readonly);
50 virtual bool isReadOnlyMaterials(
void)
const {
return false; }
51 virtual irr::scene::IShadowVolumeSceneNode *
52 addShadowVolumeSceneNode(
const irr::scene::IMesh *shadowMesh = 0,
53 irr::s32
id = -1,
bool zfailmethod =
true,
54 irr::f32 infinity = 1000.0f) {
59 irr::scene::IMesh *mesh;
60 irr::core::aabbox3d<irr::f32> Box;
61 irr::video::SMaterial Material;
66 #endif // MESHSCENENODE_H
namespace of the flair Framework
Definition: Ahrs.h:19
Definition: MeshSceneNode.h:26