Irrlicht 3D Engine
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ILightSceneNode.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2012 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5
#ifndef __I_LIGHT_SCENE_NODE_H_INCLUDED__
6
#define __I_LIGHT_SCENE_NODE_H_INCLUDED__
7
8
#include "
ISceneNode.h
"
9
#include "
SLight.h
"
10
11
namespace
irr
12
{
13
namespace
scene
14
{
15
17
22
class
ILightSceneNode
:
public
ISceneNode
23
{
24
public
:
25
27
ILightSceneNode
(
ISceneNode
* parent,
ISceneManager
* mgr,
s32
id
,
28
const
core::vector3df
& position =
core::vector3df
(0,0,0))
29
:
ISceneNode
(parent, mgr, id, position) {}
30
32
33
virtual
void
setLightData
(
const
video::SLight
& light) = 0;
34
36
37
virtual
const
video::SLight
&
getLightData
()
const
= 0;
38
40
41
virtual
video::SLight
&
getLightData
() = 0;
42
44
47
virtual
void
setVisible
(
bool
isVisible
) = 0;
48
50
55
virtual
void
setRadius
(
f32
radius) = 0;
56
58
59
virtual
f32
getRadius
()
const
= 0;
60
62
63
virtual
void
setLightType
(
video::E_LIGHT_TYPE
type) = 0;
64
66
67
virtual
video::E_LIGHT_TYPE
getLightType
()
const
= 0;
68
70
74
virtual
void
enableCastShadow
(
bool
shadow=
true
) = 0;
75
77
78
virtual
bool
getCastShadow
()
const
= 0;
79
};
80
81
}
// end namespace scene
82
}
// end namespace irr
83
84
85
#endif
86
Irrlicht Engine
Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sat Apr 20 2019 06:56:49 for Irrlicht 3D Engine by
Doxygen
1.8.1.2