aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CMeshSceneNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/CMeshSceneNode.h')
-rw-r--r--source/Irrlicht/CMeshSceneNode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Irrlicht/CMeshSceneNode.h b/source/Irrlicht/CMeshSceneNode.h
index 5217445..209000f 100644
--- a/source/Irrlicht/CMeshSceneNode.h
+++ b/source/Irrlicht/CMeshSceneNode.h
@@ -54,6 +54,11 @@ namespace scene
//! Returns the current mesh
IMesh* getMesh(void) override { return Mesh; }
+ //! Creates shadow volume scene node as child of this node
+ //! and returns a pointer to it.
+ virtual IShadowVolumeSceneNode* addShadowVolumeSceneNode(const IMesh* shadowMesh,
+ s32 id, bool zfailmethod=true, f32 infinity=10000.0f) override;
+
//! Sets if the scene node should not copy the materials of the mesh but use them in a read only style.
/* In this way it is possible to change the materials a mesh causing all mesh scene nodes
referencing this mesh to change too. */
@@ -79,6 +84,7 @@ namespace scene
video::SMaterial ReadOnlyMaterial;
IMesh* Mesh;
+ IShadowVolumeSceneNode* Shadow;
s32 PassCount;
bool ReadOnlyMaterials;