aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CAnimatedMeshSceneNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/CAnimatedMeshSceneNode.h')
-rw-r--r--source/Irrlicht/CAnimatedMeshSceneNode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Irrlicht/CAnimatedMeshSceneNode.h b/source/Irrlicht/CAnimatedMeshSceneNode.h
index a11a190..8d5e8a6 100644
--- a/source/Irrlicht/CAnimatedMeshSceneNode.h
+++ b/source/Irrlicht/CAnimatedMeshSceneNode.h
@@ -78,6 +78,11 @@ namespace scene
//! returns amount of materials used by this scene node.
u32 getMaterialCount() const override;
+ //! 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=1000.0f) override;
+
//! Returns a pointer to a child node, which has the same transformation as
//! the corresponding joint, if the mesh in this scene node is a skinned mesh.
IBoneSceneNode* getJointNode(const c8* jointName) override;
@@ -174,6 +179,8 @@ namespace scene
IAnimationEndCallBack* LoopCallBack;
s32 PassCount;
+ IShadowVolumeSceneNode* Shadow;
+
core::array<IBoneSceneNode* > JointChildSceneNodes;
core::array<core::matrix4> PretransitingSave;
};