]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/CAnimatedMeshSceneNode.h
Add back lighting system
[irrlicht.git] / source / Irrlicht / CAnimatedMeshSceneNode.h
index a11a19091c4dff1e638b01a373177e1d55760803..8d5e8a6d166f952980c033a70288d06aedf3c5c5 100644 (file)
@@ -78,6 +78,11 @@ namespace scene
                //! returns amount of materials used by this scene node.\r
                u32 getMaterialCount() const override;\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=1000.0f) override;\r
+\r
                //! Returns a pointer to a child node, which has the same transformation as\r
                //! the corresponding joint, if the mesh in this scene node is a skinned mesh.\r
                IBoneSceneNode* getJointNode(const c8* jointName) override;\r
@@ -174,6 +179,8 @@ namespace scene
                IAnimationEndCallBack* LoopCallBack;\r
                s32 PassCount;\r
 \r
+               IShadowVolumeSceneNode* Shadow;\r
+\r
                core::array<IBoneSceneNode* > JointChildSceneNodes;\r
                core::array<core::matrix4> PretransitingSave;\r
        };\r