]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/CMeshSceneNode.h
Add back lighting system
[irrlicht.git] / source / Irrlicht / CMeshSceneNode.h
index 521744521be5087bf9168d49edb33c1f92b77ff3..209000fe958cf820ee840f38bec427c2823794c0 100644 (file)
@@ -54,6 +54,11 @@ namespace scene
                //! Returns the current mesh\r
                IMesh* getMesh(void) override { return Mesh; }\r
 \r
+               //! Creates shadow volume scene node as child of this node\r
+               //! and returns a pointer to it.\r
+               virtual IShadowVolumeSceneNode* addShadowVolumeSceneNode(const IMesh* shadowMesh,\r
+                       s32 id, bool zfailmethod=true, f32 infinity=10000.0f) override;\r
+\r
                //! Sets if the scene node should not copy the materials of the mesh but use them in a read only style.\r
                /* In this way it is possible to change the materials a mesh causing all mesh scene nodes\r
                referencing this mesh to change too. */\r
@@ -79,6 +84,7 @@ namespace scene
                video::SMaterial ReadOnlyMaterial;\r
 \r
                IMesh* Mesh;\r
+               IShadowVolumeSceneNode* Shadow;\r
 \r
                s32 PassCount;\r
                bool ReadOnlyMaterials;\r