Loading...
Searching...
No Matches
IShadowVolumeSceneNode.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_SHADOW_VOLUME_SCENE_NODE_H_INCLUDED__
#define __I_SHADOW_VOLUME_SCENE_NODE_H_INCLUDED__
#include "ISceneNode.h"
namespace irr
{
namespace scene
{
class IMesh;
class IShadowVolumeSceneNode : public ISceneNode
{
public:
IShadowVolumeSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id)
: ISceneNode(parent, mgr, id) {}
virtual void setShadowMesh(const IMesh* mesh) = 0;
virtual void updateShadowVolumes() = 0;
};
} // end namespace scene
} // end namespace irr
#endif
ISceneNode.h
irr::scene::IMesh
Class which holds the geometry of an object.
Definition IMesh.h:24
irr::scene::ISceneManager
The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
Definition ISceneManager.h:151
irr::scene::ISceneNode::ISceneNode
ISceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id=-1, const core::vector3df &position=core::vector3df(0, 0, 0), const core::vector3df &rotation=core::vector3df(0, 0, 0), const core::vector3df &scale=core::vector3df(1.0f, 1.0f, 1.0f))
Constructor.
Definition ISceneNode.h:45
irr::scene::IShadowVolumeSceneNode::updateShadowVolumes
virtual void updateShadowVolumes()=0
Updates the shadow volumes for current light positions.
irr::scene::IShadowVolumeSceneNode::setShadowMesh
virtual void setShadowMesh(const IMesh *mesh)=0
Sets the mesh from which the shadow volume should be generated.
irr::scene::IShadowVolumeSceneNode::IShadowVolumeSceneNode
IShadowVolumeSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id)
constructor
Definition IShadowVolumeSceneNode.h:22
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0